Run the setup.sh
script to create the required secrets for the service to connect to a database.
The script will also start the required services like redis
using docker-compose
.
This script is only needed for the initial setup. After that services can be started using default docker-compose
commands.
# install all dependencies
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
Run the command setup.sh prod
to set up the secrets.
This script is only needed for the initial setup. After that services can be started using default docker-compose
commands.