a Sails application
- Please install ImageMagick first: http://www.imagemagick.org/ .
- Install the latest Node.js (which includes the NPM package manager) .
- Checkout the project and install the NPM dependencies
git clone https://github.com/neeedo/neeedo-webapp.git
npm install
- If you want to make use of grunt (e.g. to run the code coverage task more smoothly), please install Grunt and set up the Grunt CLI (-> http://gruntjs.com/getting-started ).
You can set a custom configuration if desired. Therefore, please copy config/env/development.js to config/env/custom.js or similiar and adjust the configuration.
Afterwards, set the environment before running the app:
NODE_ENV = custom
Make sure to have the neeedo Api running according to your config/env/development.js configuration or the custom one.
npm start
- The default environment is 'development'. On production systems, set the NODE_ENV environment variable to 'production'.
grunt testcoverage