From 7dc30596f16f390b3f60e99f0b0744a71feffc30 Mon Sep 17 00:00:00 2001 From: cauta Date: Tue, 11 Jun 2024 11:58:10 +0700 Subject: [PATCH] update README --- app/README.md | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/app/README.md b/app/README.md index b2dde32..3606b83 100644 --- a/app/README.md +++ b/app/README.md @@ -31,13 +31,25 @@ $ yarn test:cov ``` # Using docker -## Build development with start watch +## Quick start local Development with docker update .env.docker files ```bash make up-dev ``` -## Build production +## Quick start Production with docker +update .env.docker files +```bash +cd docker + +# config env for production and Update config for for network +cp .env.sample .env + +# start docker compose +docker compose up -d +``` + +## Build production image Build docker container and push to docker registry ```bash yarn build @@ -49,19 +61,10 @@ docker push /api: docker push /monitor: docker push /worker: ``` -## Run production -```bash -cd docker -# config env for production -cp .env.sample .env +## Set up dev environment without docker +Update .env with env.sample -# start docker compose -docker compose up -d -``` - -## Set up dev environment -Start local dev env ```bash make up-deps @@ -77,11 +80,7 @@ yarn start:dev worker-service # stop deps make down-deps ``` -Start docker compose dev -```bash -docker compose -f docker-compose-dev.yml up -d -``` ## License -Nest is [MIT licensed](LICENSE). \ No newline at end of file +Crypitor is [MIT licensed](LICENSE). \ No newline at end of file