Browse Source

Updated faq with rebuild info (#734)

Updated FAQ for rebuilding by latest doccano image
pull/744/head
Tushar Makkar 4 years ago
committed by GitHub
parent
commit
b17e04444d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 22 additions and 0 deletions
  1. 22
      docs/faq.md

22
docs/faq.md

@ -22,3 +22,25 @@ Please check the following list.
![Add a user](./images/faq/add_user.png)
2. Add the user to the project in the member page(`/projects/{project_id}/members`).
3. **Logout from Django Admin site.** [You'll face login error without logout of Django Admin site](https://github.com/doccano/doccano/issues/723).
## I want to update to the latest doccano image
1. Execute `git pull` to reflect the latest doccano.
2. Delete the volume that `doccano_www` and `doccano_static_volume`.
**Do not delete `doccano_postgres_data` because it stores your projects data.**
3. Rebuild the doccano image.
The following commands are the procedure for 2~3.
```
❯ docker volume ls
DRIVER VOLUME NAME
local doccano_node_modules
local doccano_postgres_data
local doccano_static_volume
local doccano_venv
local doccano_www
❯ docker volume rm doccano_www
❯ docker volume rm doccano_static_volume
❯ docker-compose -f docker-compose.prod.yml build --no-cache
```
Loading…
Cancel
Save