Update 'Déploiement sur liveche'
parent
03e91f7418
commit
d7864dc178
25
D%C3%A9ploiement-sur-liveche.md
Normal file
25
D%C3%A9ploiement-sur-liveche.md
Normal file
@ -0,0 +1,25 @@
|
||||
### 0) Si on change le fichier app.config.ts, et seulement ce fichier
|
||||
|
||||
```bash
|
||||
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
|
||||
|
||||
Change dev settings in default_config.toml. Here is a copy for further use
|
||||
|
||||
DEBUG=false
|
||||
|
||||
|
||||
```bash
|
||||
docker-compose build citizen-front
|
||||
docker login registry.gitlab.com
|
||||
docker push registry.gitlab.com/champs-libres/geonature-citizen/front
|
||||
```
|
||||
Il est peut-être aussi nécessaire de faire de même pour l'image `media`.
|
||||
|
||||
```bash
|
||||
docker-compose build citizen-back
|
||||
docker login registry.gitlab.com
|
||||
docker push registry.gitlab.com/champs-libres/geonature-citizen/back
|
||||
```
|
Loading…
Reference in New Issue
Block a user