- Install Node.js
- Install Angular CLI:
$ yarn global add gulp
or (alternative)
$ npm install -g gulp
- Install dependencies:
$ yarn
or (alternative)
$ npm install
Run app on local:
$ gulp
Run compile typescript, lint and tests as watcher (useful to keep in separate terminal window while development):
$ gulp watch
Run lint and tests:
$ gulp build-and-validate
- Install Node.js
- Install PM2:
$ yarn global add pm2
or (alternative)
$ npm install -g pm2
- Install dependencies:
$ yarn
or (alternative)
$ npm install
To start app:
$ pm2 start pm2.production.json
All js code should be unit-tested
https://github.com/felixge/node-style-guide
https://basarat.gitbooks.io/typescript/content/docs/styleguide/styleguide.html
Commits should follow guidelines. Short version:
- no commits to master: only Pull Requests from feature branches
- code have to be linted and tested