Update 'Déploiement sur liveche'

Julien Minet 2022-10-05 14:24:58 +00:00
parent 3bb81e0abb
commit 87c1bf3b14

@ -4,7 +4,7 @@
scp patches/frontend/src/conf/app.config.ts.dist user@liveche.xxx.xxx:/home/debian/docker-projects/biommap/front/app.config.ts scp patches/frontend/src/conf/app.config.ts.dist user@liveche.xxx.xxx:/home/debian/docker-projects/biommap/front/app.config.ts
``` ```
### 1) Reconstruire l'image front en local ### 1) Rebuild the images in local
Set the DEBUG variable to false in patches/back/default_config.toml Set the DEBUG variable to false in patches/back/default_config.toml
@ -14,6 +14,8 @@ Set the production command in the docker-compose file
`command: bash start_gunicorn.sh` `command: bash start_gunicorn.sh`
Then, rebuild the images
```bash ```bash
docker-compose build citizen-front docker-compose build citizen-front
docker login registry.gitlab.com docker login registry.gitlab.com