- Install nvm
$ curl https://raw.github.com/creationix/nvm/master/install.sh | sh && source ~/.nvm/nvm.sh
- Install node and set default
$ nvm install stable && nvm alias default stable
- Install local node packages
$ npm install
- Start the server in development mode...
$ npm start
- ...and open the app
- Build the assets
$ npm run build
- Start the server in production mode...
$ NODE_ENV=production npm start
- ...and open the app
Code should follow the style guide outlined here
In order to keep the code clean and free of bugs please run tests before every commit
$ npm test
You can run live linting and testing using the following command
$ npm run test:watch