Mercurial > gemma
view example_conf.toml @ 2121:bd4370badbf7
Improve Makefile target `makemessages`
* Change code to only run msginit, if the file is not there.
This avoids losing data if msgmerge fails because of a temorarily
bad .po file. Rewrite the used shell code using `if` instead of
using more implicit `||` and `&&` operator to make it more readable.
* Make the operation stop if one of the commands in the makemessages
loop fails, so that errors are propagated up to the build process and
can be noticed.
Given to upstream at https://github.com/Polyconseil/vue-gettext/issues/84 .
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Tue, 05 Feb 2019 13:34:29 +0100 |
parents | eadf84bb0e98 |
children | 783c1454ab47 |
line wrap: on
line source
# ---------------------------------------------------------------------- # Example configuration for gemma back end # ---------------------------------------------------------------------- # ---------------------------------------------------------------------- # Basic Setup: # Host and port to listen on: host = "0.0.0.0" #port = 8000 # Where to find the data of the web client (SPA) to serve: web = "./web" # File to persist session data: sessions = "/tmp/gemma_session.data" # ---------------------------------------------------------------------- # Database: # DB connection configuration: db-host = "gemma_db" #db-name = "gemma" #db-port = 5432 #db-ssl = "prefer" db-user = "meta_login" db-password = "geo2Serv" # ---------------------------------------------------------------------- # Mail setup: # SMTP connection configuration: #mail-host = "localhost" #mail-password = "SECRET" #mail-port = 465 #mail-user = "gemma" # Client data to use: #mail-from = "noreplay@localhost" #mail-helo = "localhost" # ---------------------------------------------------------------------- # OGC services setup: # Connection to GeoServer instance for internal OGC services geoserver-url = "http://gemma_geoserver:8080/geoserver" #geoserver-user = "admin" #geoserver-password = "geoserver" # Clean GeoServer setup on startup # Persisting this is mainly useful in some dev setups. # Cleaning up the GeoServer should be done with # an explicit --geoserver-clean on the command line. #geoserver-clean = true # Proxy settings for external OGC services #proxy-key = "SECRET" #proxy-prefix = "http://localhost:8000" # # Server is known on the outside as: # external-url = "http://localhost:8000" # ---------------------------------------------------------------------- # CORS setup: #allowed-origins = "http://example.com"