taler-deployment

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

commit db936aff2ab5da5a916b08ef68b07c55939d309f
parent c0941eb1b9dba2e2321efe1a2f44ce4a529e7a03
Author: ms <ms@taler.net>
Date:   Mon, 15 Nov 2021 21:45:33 +0100

taler-local

Serve demo applications via HTTP + Unix domain sockets.
(Because the minimal HTTP proxy does not speak UWSGI)

Diffstat:
Mbin/WIP/taler-local | 34+++++++++++++++++-----------------
1 file changed, 17 insertions(+), 17 deletions(-)

diff --git a/bin/WIP/taler-local b/bin/WIP/taler-local @@ -960,25 +960,25 @@ def prepare(): obj.cfg_put("bank", "database", "postgres:///taler") obj.cfg_put("bank", "suggested_exchange", rev_proxy_url + "/exchange/") - obj.cfg_put("donations", "serve", "uwsgi") - obj.cfg_put("donations", "uwsgi_serve", "unix") - obj.cfg_put("donations", "uwsgi_unixpath", str(unix_sockets_dir / "donations.sock")) - obj.cfg_put("donations", "uwsgi_unixpath_mode", "660") + obj.cfg_put("donations", "serve", "http") + obj.cfg_put("donations", "http_serve", "unix") + obj.cfg_put("donations", "http_unixpath", str(unix_sockets_dir / "donations.sock")) + obj.cfg_put("donations", "http_unixpath_mode", "660") - obj.cfg_put("landing", "serve", "uwsgi") - obj.cfg_put("landing", "uwsgi_serve", "unix") - obj.cfg_put("landing", "uwsgi_unixpath", str(unix_sockets_dir / "landing.sock")) - obj.cfg_put("landing", "uwsgi_unixpath_mode", "660") + obj.cfg_put("landing", "serve", "http") + obj.cfg_put("landing", "http_serve", "unix") + obj.cfg_put("landing", "http_unixpath", str(unix_sockets_dir / "landing.sock")) + obj.cfg_put("landing", "http_unixpath_mode", "660") - obj.cfg_put("blog", "serve", "uwsgi") - obj.cfg_put("blog", "uwsgi_serve", "unix") - obj.cfg_put("blog", "uwsgi_unixpath", str(unix_sockets_dir / "blog.sock")) - obj.cfg_put("blog", "uwsgi_unixpath_mode", "660") + obj.cfg_put("blog", "serve", "http") + obj.cfg_put("blog", "http_serve", "unix") + obj.cfg_put("blog", "http_unixpath", str(unix_sockets_dir / "blog.sock")) + obj.cfg_put("blog", "http_unixpath_mode", "660") - obj.cfg_put("survey", "serve", "uwsgi") - obj.cfg_put("survey", "uwsgi_serve", "unix") - obj.cfg_put("survey", "uwsgi_unixpath", str(unix_sockets_dir / "survey.sock")) - obj.cfg_put("survey", "uwsgi_unixpath_mode", "660") + obj.cfg_put("survey", "serve", "http") + obj.cfg_put("survey", "http_serve", "unix") + obj.cfg_put("survey", "http_unixpath", str(unix_sockets_dir / "survey.sock")) + obj.cfg_put("survey", "http_unixpath_mode", "660") obj.cfg_put("survey", "bank_password", "x") obj.cfg_put("merchant", "serve", "unix") @@ -1730,7 +1730,7 @@ def launch(): rev_proxy.run( host=netloc_parts[0], port=netloc_parts[1], - debug=False + debug=True ) # Stop with CTRL+C print_nn("Stopping the services...")