diff --git a/README.md b/README.md index a13e742..443a141 100644 --- a/README.md +++ b/README.md @@ -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