From a6c913f0c66616014e0fe255a3b521e39fe84f46 Mon Sep 17 00:00:00 2001 From: Hironsan Date: Tue, 15 Feb 2022 13:59:44 +0900 Subject: [PATCH] Move .env.example to docker directory --- README.md | 6 +++--- {config => docker}/.env.example | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename {config => docker}/.env.example (100%) diff --git a/README.md b/README.md index f21591a4..1ba8465e 100644 --- a/README.md +++ b/README.md @@ -109,7 +109,7 @@ _Note for Windows developers:_ Be sure to configure git to correctly handle line git clone https://github.com/doccano/doccano.git --config core.autocrlf=input ``` -Then, create an `.env` file with variables in the following format (see [./config/.env.example](https://github.com/doccano/doccano/blob/master/config/.env.example)): +Then, create an `.env` file with variables in the following format (see [./docker/.env.example](https://github.com/doccano/doccano/blob/master/docker/.env.example)): ```plain # platform settings @@ -132,7 +132,7 @@ POSTGRES_DB=doccano After running the following command, access . ```bash -docker-compose -f docker-compose.prod.yml --env-file ./config/.env.example up +docker-compose -f docker-compose.prod.yml --env-file ./docker/.env.example up ``` #### Development @@ -140,7 +140,7 @@ docker-compose -f docker-compose.prod.yml --env-file ./config/.env.example up After running the following command, access . If you want to use the admin site, please access . ```bash -docker-compose -f docker-compose.dev.yml --env-file ./config/.env.example up +docker-compose -f docker-compose.dev.yml --env-file ./docker/.env.example up ``` You can run the the test codes for the backend with the following command: diff --git a/config/.env.example b/docker/.env.example similarity index 100% rename from config/.env.example rename to docker/.env.example