Browse Source

Update install_and_upgrade_doccano.md

Add more instructions for .env configuration
pull/2145/head
Armand Fardeau 1 year ago
committed by GitHub
parent
commit
7a08ec0b7b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions
  1. 6
      docs/install_and_upgrade_doccano.md

6
docs/install_and_upgrade_doccano.md

@ -200,7 +200,11 @@ cd doccano
To install and start doccano at <http://localhost>, 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.

Loading…
Cancel
Save