2021-03-26 08:11:10 +00:00
|
|
|
# gl-geonature
|
|
|
|
|
|
|
|
L'instance Geonature-Citizen de Champs-Libres.
|
|
|
|
|
2021-05-19 15:21:22 +00:00
|
|
|
# Installation développeur :
|
2021-03-26 08:11:10 +00:00
|
|
|
|
2021-04-21 08:37:40 +00:00
|
|
|
$ git submodule update --init --recursive
|
2021-03-26 14:46:48 +00:00
|
|
|
$ docker-compose up -d
|
2021-04-21 08:37:40 +00:00
|
|
|
$ docker-compose exec citizen install/install_app.sh
|
2021-03-26 08:11:10 +00:00
|
|
|
|
2021-03-26 10:30:07 +00:00
|
|
|
note: les credentials pour accéder au backend se trouvent dans /home/appuser/citizen/config
|
|
|
|
|
2021-05-19 15:21:22 +00:00
|
|
|
# Remise en route du service
|
|
|
|
|
|
|
|
$ docker-compose up -d
|
|
|
|
$ docker-compose exec citizen sh install/restart.sh
|
|
|
|
|
2021-05-20 18:48:17 +00:00
|
|
|
# Documentation :
|
2021-03-26 08:11:10 +00:00
|
|
|
|
|
|
|
$ make doc
|
2021-05-20 18:48:17 +00:00
|
|
|
|
2021-05-22 11:44:13 +00:00
|
|
|
# Builder le front (pour production)
|
2021-05-20 18:48:17 +00:00
|
|
|
|
|
|
|
```
|
|
|
|
$ docker-compose exec citizen bash
|
|
|
|
appuser@ab136184159a:~/citizen/$ cd frontend
|
|
|
|
appuser@ab136184159a:~/citizen/frontend$ npm run ng build -- --configuration=fr --prod
|
2021-05-21 19:04:50 +00:00
|
|
|
```
|
|
|
|
|
2021-05-22 11:44:13 +00:00
|
|
|
|
2021-05-21 19:04:50 +00:00
|
|
|
# Modifier la config du front end
|
|
|
|
|
|
|
|
- faire des modifications dans patches/frontend/conf
|
|
|
|
- Builder le front (cfr commande ci-dessus)
|
|
|
|
- remise en route du service (cfr commande ci-desssus)
|
|
|
|
|
|
|
|
# Modifier l'image de fond
|
|
|
|
|
|
|
|
Il semble qu'un rebuild du container soit nécessaire!?
|