Steps to run this project:
- Run
npm i
command - Setup database settings inside
ormconfig.json
file - Run
npm start
command
- sudo docker build -t XXXX-backend .
- sudo docker-compose up -d
- sudo docker-compose logs
- sudo docker-compose down
Remove persistent data with "sudo rm -rf pgdata"
Disable Redis and Postgres on localhost:
- sudo service postgresql stop
- sudo service redis stop
Enable Redis and Postgres on localhost:
- sudo service postgresql start
- sudo service redis start