##// END OF EJS Templates
ignore: added gitignore
ignore: added gitignore
ergo -
r119:5de59700
Show More
Name Size Modified Last Commit Author
/ frontend
css
src
vendors
.jshintrc Loading ...
Gruntfile.js Loading ...
bower-packages.nix Loading ...
bower.json Loading ...
default.nix Loading ...
karma.conf.js Loading ...
locations.ini Loading ...
node-env.nix Loading ...
node-packages.nix 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 install -g bower
npm install -g grunt-cli
bower install

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

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

grunt

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

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