taler-deployment

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

commit e5ebaa6a960488087750481f0349e3886b36b6ba
parent 402ffa48dbb4064028e275b6ca417d2779c2adad
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Fri,  7 Jun 2019 12:21:06 +0200

Configuring the Twister.

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

diff --git a/config/generate-config b/config/generate-config @@ -48,6 +48,16 @@ def config(currency, envname, exchange_pub, standalone): cfg_put("paths", "TALER_DEPLOYMENT_SHARED", "${HOME}/shared-data") cfg_put("taler", "CURRENCY", currency) + # Twisting the merchant backend responses. + if "test" == envname: + cfg_put("twister", "serve", "unix") + cfg_put("twister", "destination_base_url", "https://backend.test.taler.net/") + cfg_put("twister", "serve_unixpath", "${HOME}/sockets/twister.http") + cfg_put("twister", "serve_unixmode", "660") + cfg_put("twister", "unixpath", "${HOME}/sockets/twister-control.sock") + cfg_put("twister", "unix_match_uid", "no") + cfg_put("twister", "unix_match_gid", "yes") + cfg_put("bank", "serve", "uwsgi") cfg_put("bank", "uwsgi_serve", "unix") cfg_put("bank", "uwsgi_unixpath", "$HOME/sockets/bank.uwsgi")