##// END OF EJS Templates
elasticsearch: migrate to ES 5.x
elasticsearch: migrate to ES 5.x
ergo -
r165:ea1ab161
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 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