how to change frontend config

This commit is contained in:
nobohan 2021-05-21 21:04:50 +02:00
parent f84b062ef7
commit f503c42244
2 changed files with 12 additions and 2 deletions

12
README
View File

@ -25,4 +25,14 @@ note: les credentials pour accéder au backend se trouvent dans /home/appuser/ci
$ docker-compose exec citizen bash $ docker-compose exec citizen bash
appuser@ab136184159a:~/citizen/$ cd frontend appuser@ab136184159a:~/citizen/$ cd frontend
appuser@ab136184159a:~/citizen/frontend$ npm run ng build -- --configuration=fr --prod appuser@ab136184159a:~/citizen/frontend$ npm run ng build -- --configuration=fr --prod
``` ```
# 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!?

View File

@ -29,7 +29,7 @@ export const AppConfig = {
en: "Welcome<br /> on GeoNature Citizen" en: "Welcome<br /> on GeoNature Citizen"
}, },
platform_teaser: { platform_teaser: {
fr: "Hae duae provinciae bello quondam piratico catervis mixtae praedonum a Servilio pro consule missae sub iugum factae sunt vectigales. et hae quidem regiones velut in prominenti terrarum lingua positae ob orbe eoo monte Amano disparantur.", fr: "Cartographie participative de notre environnement",
en: "Hae duae provinciae bello quondam piratico catervis mixtae praedonum a Servilio pro consule missae sub iugum factae sunt vectigales. et hae quidem regiones velut in prominenti terrarum lingua positae ob orbe eoo monte Amano disparantur." en: "Hae duae provinciae bello quondam piratico catervis mixtae praedonum a Servilio pro consule missae sub iugum factae sunt vectigales. et hae quidem regiones velut in prominenti terrarum lingua positae ob orbe eoo monte Amano disparantur."
}, },
platform_participate: { platform_participate: {