upd README

This commit is contained in:
nobohan 2022-09-13 10:02:44 +02:00
parent b1b941e048
commit b5eb59980a
1 changed files with 6 additions and 2 deletions

View File

@ -131,9 +131,13 @@ docker-compose exec citizen-front bash
root@9c0fea7720a0:/home/appuser/citizen/frontend# npm run build:i18n-ssr
```
or `npm run build:fr` for speeding up.
or `npm run build:fr` for speeding up.
### Back-end development
When developing the app and serving it with `docker-compose up`, the changes are automatically loaded (meaning, the app is watching the changes). However, it is more practical to change the command of the backend container from `command: bash start_gunicorn.sh` to `command: python wsgi.py` in order to have some logs.
## Deploiement sur un serveur distant
@ -170,7 +174,7 @@ docker-compose up -d
### Troubleshooting
Attention, lorsqu'on envoie des images sur le serveur (avec `docker push`), celles-ci peuvent être très volumineuses! Il faut vérifier la capacité du serveur (avec `df`), inspecter les images existantes (`docker image ls`) et supprimer les anciennes images (`docker rmi ...`).
Attention, lorsqu'on envoie des images sur le serveur (avec `docker push`), celles-ci peuvent être très volumineuses! Il faut vérifier la capacité du serveur (avec `df`), inspecter les images existantes (`docker image ls`) et supprimer les anciennes images (`docker rmi ...`).
# Single-container instructions (deprecated)
## Installation