$ npm install
The app expects the database to be running on localhost:5432
.
To connect to the production database, use ssh -L5432:localhost:5432 [email protected]
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
First, connect to the correct server via ssh. Then run the following:
$ cd app-backend
$ git pull origin master
$ npm run build
$ pm2 restart app-backend