Citizen-front run with JulienM patches
This commit is contained in:
parent
54f0239cbb
commit
c501700bc4
@ -9,9 +9,10 @@ ADD https://github.com/PnX-SI/TaxHub/archive/refs/tags/1.7.3.zip /home/appuser/c
|
||||
RUN unzip taxhub.zip
|
||||
RUN mv TaxHub-1.7.3 taxhub
|
||||
|
||||
|
||||
# PATCHES
|
||||
COPY patches/settings.ini /home/appuser/citizen/config/settings.ini
|
||||
COPY patches/front/app.config.ts /home/appuser/citizen/frontend/src/conf/app.config.ts
|
||||
COPY patches/frontend/src/conf /home/appuser/citizen/frontend/src/conf
|
||||
COPY patches/frontend/src/assets /home/appuser/citizen/frontend/src/assets
|
||||
|
||||
|
||||
WORKDIR /home/appuser/citizen/frontend
|
||||
|
@ -26,7 +26,8 @@ services:
|
||||
image: registry.gitlab.com/champs-libres/geonature-citizen/front
|
||||
volumes:
|
||||
- ./patches/settings.ini:/home/appuser/citizen/config/settings.ini
|
||||
- ./patches/front/app.config.ts:/home/appuser/citizen/frontend/src/conf/app.config.ts
|
||||
- ./patches/frontend/src/conf:/home/appuser/citizen/frontend/src/conf
|
||||
- ./patches/frontend/src/assets:/home/appuser/citizen/frontend/src/assets
|
||||
- ./dist/browser:/home/appuser/citizen/frontend/dist/browser
|
||||
ports:
|
||||
- "4000:4000"
|
||||
|
@ -1,72 +0,0 @@
|
||||
export const AppConfig = {
|
||||
appName: "GeoNature-citizen",
|
||||
API_ENDPOINT:"http://localhost:8080/citizen/api",
|
||||
API_TAXHUB:"http://localhost:5000/api/",
|
||||
FRONTEND:{
|
||||
PROD_MOD:true,
|
||||
MULTILINGUAL:false,
|
||||
DISPLAY_FOOTER: true,
|
||||
DISPLAY_TOPBAR: true,
|
||||
DISPLAY_SIDEBAR: true,
|
||||
DISPLAY_STATS: true,
|
||||
DISPLAY_BADGES: true,
|
||||
NEW_OBS_FORM_MODAL_VERSION: true
|
||||
},
|
||||
META: {
|
||||
keywords: 'biodiversite enquetes participatif observations',
|
||||
},
|
||||
about: true,
|
||||
URL_APPLICATION:"http://localhost:4000/",
|
||||
REWARDS: true,
|
||||
termsOfUse: {
|
||||
fr: "assets/cgu.pdf",
|
||||
en: "assets/termsOfUse.pdf"
|
||||
},
|
||||
signup:true,
|
||||
email_contact:false,
|
||||
platform_intro: {
|
||||
fr: "Bienvenue<br /> sur GeoNature Citizen",
|
||||
en: "Welcome<br /> on GeoNature Citizen"
|
||||
},
|
||||
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.",
|
||||
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: {
|
||||
fr: "PARTICIPER AU PROGRAMME",
|
||||
en: "PARTICIPATE"
|
||||
},
|
||||
programs_label: {
|
||||
fr: "Programmes",
|
||||
en: "Surveys"
|
||||
},
|
||||
program_label: {
|
||||
fr: "Le programme",
|
||||
en: "Survey"
|
||||
},
|
||||
program_share_an_observation: {
|
||||
fr: "PARTAGER UNE OBSERVATION",
|
||||
en: "SHARE AN OBSERVATION"
|
||||
},
|
||||
program_add_an_observation: {
|
||||
fr: "AJOUTER UNE OBSERVATION",
|
||||
en: "CONTRIBUTE AN OBSERVATION"
|
||||
},
|
||||
program_allow_email_contact: {
|
||||
fr: "J'accepte que mon adresse e-mail puisse être utilisée pour recontacter à propos de mon observation",
|
||||
en : "I agree that my e-mail address can be used to recontact about my observation"
|
||||
},
|
||||
taxonSelectInputThreshold: 7,
|
||||
taxonAutocompleteInputThreshold: 12,
|
||||
taxonAutocompleteFields: [
|
||||
"nom_complet",
|
||||
"nom_vern",
|
||||
"nom_vern_eng",
|
||||
"cd_nom"
|
||||
],
|
||||
taxonDisplaySciName: true,
|
||||
program_list_observers_names: true,
|
||||
program_list_sort: "-timestamp_create",
|
||||
details_espece_url: "<url_inpn_or_atlas>/cd_nom/", // !! gardez bien le cd_nom/ dans l'url
|
||||
registration_message : "Vous inscrire vous permet de gérer vos observations"
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
export const AppConfig = {
|
||||
appName: "GeoNature-citizen",
|
||||
API_ENDPOINT:"http://localhost:8080/api",
|
||||
API_TAXHUB:"http://localhost/taxhub/api/",
|
||||
API_ENDPOINT:"http://localhost:8080/citizen/api",
|
||||
API_TAXHUB:"http://localhost:8080/taxhub/api/",
|
||||
FRONTEND:{
|
||||
PROD_MOD:true,
|
||||
MULTILINGUAL:false,
|
||||
|
Loading…
Reference in New Issue
Block a user