- Install node v8.9.4+, npm 5.6.0+, Yarn 1.3.2+
- Install and launch mongodb service
- Update these config files:
- config/default.json
- config/production.json
# install dependencies
yarn install
# startapp using development settings
pm2 start ecosystem.config.js
# stop app
pm2 stop ecosystem.config.js
# install dependencies
yarn install
# startapp using production settings
pm2 start ecosystem.config.js --env production
# stop app
pm2 stop ecosystem.config.js
For running test follow next step:
# run the command:
yarn test