Fix install for front

This commit is contained in:
Marc Ducobu
2021-05-31 23:04:52 +02:00
parent ef3766ae1c
commit c84d0cdfd6
4 changed files with 14 additions and 13 deletions

View File

@@ -1,3 +1,5 @@
TODO FUSION entre README & README.md
# gl-geonature
L'instance Geonature-Citizen de Champs-Libres.
@@ -26,9 +28,14 @@ $ git submodule foreach git pull git@github.com:Champs-Libres/GeoNature-citizen.
$ make doc
### Builder le front (pour production)
### Builder le front (pour production) (avant de pouvoir faire le docker up)
```
$ docker-compose run --rm citizen-front npm install
$ docker-compose run --rm citizen-front npm run build:i18n-ssr
$ docker-compose up -d citizen-front
```
$ docker-compose exec citizen bash
appuser@ab136184159a:~/citizen/$ cd frontend
appuser@ab136184159a:~/citizen/frontend$ npm run ng build -- --configuration=fr --prod