Closed yuvrajsab closed 1 year ago
@yuvrajsab The app starts automatically after DB and broker is set up.
@FirePing32 We don't want to use docker for setting up the app
service because it is making our local development process a little complex. what we want is to take out our app
service from docker. So for that, you have to remove the app
service block from docker-compose.local.yml and change the env variable in .env.copy with
RMQ_URL=amqp://username:password@localhost:5672
DATABASE_URL="postgresql://postgres:yoursupersecret@localhost:5432/db?schema=public"
Ok @yuvrajsab. I will make a PR by EOD.
Hello! I can work on updating the readme.md with the required steps to set-up locally. Can you assign me?
Hey @Swatishree-Mahapatra , this is done by @FirePing32 . We can have something else for you.
Need to update the readme to add installation instructions for local development. The steps would be:
Installation
Prerequisite
Steps:
cp .env.copy to .env
docker-compose -f docker-compose.local.yml up -d
- for running the services that our app needs.yarn install
- for installing app dependenciesyarn start:dev
- start the server in watch modeTest
yarn test
for running unit testsyarn test:e2e
for running end-to-end testsyarn test:cov
for generating coverage reports for the tests