Fix install for front
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user