##// END OF EJS Templates
setup: change url to github
setup: change url to github
ergo -
r196:472d1df0 master
Show More
Name Size Modified Last Commit Author
/ frontend
css
src
vendors
.jshintrc Loading ...
Gruntfile.js Loading ...
bower.json Loading ...
karma.conf.js Loading ...
locations.ini Loading ...
package.json Loading ...
readme.rst Loading ...

Javascript frontend for AppEnlight

To fetch all the requirememts you need to have nodejs and npm installed on your dev machine, then from this dir execute:

npm install
npm run bower

This will fetch all the required components to build front with grunt.

To build production version (builds both js and css) just run:

npm run build

To work on dev code version (builds js with comments and css) run:

npm rum grunt watch

You generally shouldn't need to run those separately but still:

To work on just Javascript version with comments run:

grunt watch:dev

To work on just CSS files run:

grunt watch:css

Ubuntu/Debian and broken node - running from node_modules instead system ones

Download this:

http://nodejs.org/dist/v0.10.32/node-v0.10.32-linux-x64.tar.gz

unpack to your home into "node" directory then edit your .bashrc file to include:

export PATH=$PATH:~/node/bin

now you will be able to execute all the comands above just fine