upd README about deploiement

This commit is contained in:
nobohan 2021-06-15 11:27:33 +02:00
parent 6f1dc178e9
commit dd41cf139b
1 changed files with 16 additions and 2 deletions

View File

@ -92,7 +92,6 @@ $ docker-compose up -d citizen-front
```
docker-compose up -d citizen-front
```
### Apache
@ -104,10 +103,25 @@ Redirige de 8080 vers autres services :
## Deploiement sur un serveur distant
### 1) Reconstruire l'image front en local
```bash
docker-compose build citizen-front
docker login registry.gitlab.com
docker push registry.gitlab.com/champs-libres/geonature-citizen/front
```
### 2) Sur le serveur distant
```bash
docker pull registry.gitlab.com/champs-libres/geonature-citizen/front
# Rebuild of the front
docker-compose run --rm citizen-front npm run build:i18n-ssr
# Restart the containers
docker-compose up -d db
docker-compose up -d
```
# Single-container instructions (deprecated)
## Installation