From 7a08ec0b7b228b6c421860169dece358636e63e7 Mon Sep 17 00:00:00 2001 From: Armand Fardeau Date: Tue, 28 Feb 2023 11:25:21 +0100 Subject: [PATCH] Update install_and_upgrade_doccano.md Add more instructions for .env configuration --- docs/install_and_upgrade_doccano.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/install_and_upgrade_doccano.md b/docs/install_and_upgrade_doccano.md index b2c7b25c..eb556e5c 100644 --- a/docs/install_and_upgrade_doccano.md +++ b/docs/install_and_upgrade_doccano.md @@ -200,7 +200,11 @@ cd doccano To install and start doccano at , run the following command: ```bash -docker-compose -f docker/docker-compose.prod.yml --env-file .env up +cd docker +cp .env.example .env +# Edit with the editor of your choice, in this example nano is used (ctrl+x, then "y" to save). +nano .env +docker-compose -f docker-compose.prod.yml --env-file .env up ``` You can override the default setting by rewriting the `.env` file. See [./docker/.env.example](https://github.com/doccano/doccano/blob/master/docker/.env.example) in detail.