taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit f1e6b4f3fcc6e87d4dfae684f0ef3a1e4b3f2514
parent 2b9ae606159f997e3e073adffdfc365402361923
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Fri,  5 Jan 2018 12:22:02 +0100

adding config sections for backoffice

Diffstat:
Mconfig/generate-config | 17+++++++++++++++++
1 file changed, 17 insertions(+), 0 deletions(-)

diff --git a/config/generate-config b/config/generate-config @@ -71,6 +71,11 @@ def config(currency, envname, exchange_pub, standalone): cfg_put("donations", "uwsgi_unixpath", "$HOME/sockets/donations.uwsgi") cfg_put("donations", "uwsgi_unixpath_mode", "660") + cfg_put("backoffice-donations", "instances", "FSF GNUnet Tor Taler") + cfg_put("backoffice-donations", "uwsgi_serve", "unix") + cfg_put("backoffice-donations", "uwsgi_unixpath", "$HOME/sockets/backoffice-donations.uwsgi") + cfg_put("backoffice-donations", "uwsgi_unixpath_mode", "660") + cfg_put("survey", "uwsgi_serve", "unix") cfg_put("survey", "uwsgi_unixpath", "$HOME/sockets/survey.uwsgi") cfg_put("survey", "uwsgi_unixpath_mode", "660") @@ -80,6 +85,18 @@ def config(currency, envname, exchange_pub, standalone): cfg_put("blog", "uwsgi_unixpath_mode", "660") cfg_put("blog", "instance", "FSF") + cfg_put("backoffice-blog", "instances", "FSF") + cfg_put("backoffice-blog", "uwsgi_serve", "unix") + cfg_put("backoffice-blog", "uwsgi_unixpath", "$HOME/sockets/backoffice-blog.uwsgi") + cfg_put("backoffice-blog", "uwsgi_unixpath_mode", "660") + + if standalone: + cfg_put("backoffice-blog", "backend", "https://env.taler.net/{}/merchant-backend/".format(envname)) + cfg_put("backoffice-donations", "backend", "https://env.taler.net/{}/merchant-backend/".format(envname)) + else: + cfg_put("backoffice-blog", "backend", "https://shop.{}.taler.net/backend/".format(envname)) + cfg_put("backoffice-donations", "backend", "https://shop.{}.taler.net/backend/".format(envname)) + cfg_put("merchant", "wireformat", "test") cfg_put("merchant", "serve", "unix") cfg_put("merchant", "unixpath", "$HOME/sockets/merchant.http")