summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.in1
-rw-r--r--donations.conf20
2 files changed, 16 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in
index 5cb170b..c19386a 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -25,6 +25,7 @@ $(script_templates): %: Makefile %.in
.PHONY: install-data
install-data: $(templates)
@$(INSTALL_DATA) -Dt $(prefix)/share/taler/ frontend-donations.wsgi
+ @$(INSTALL_DATA) -Dt $(prefix)/share/taler/config.d/ donations.conf
# @test -n "$$(ls -A talerbank/app/static/web-common/)" || \
# (echo "please check out git submodules"; exit 1)
diff --git a/donations.conf b/donations.conf
index e0492dc..7404b3c 100644
--- a/donations.conf
+++ b/donations.conf
@@ -2,11 +2,21 @@
currency = TESTKUDOS
[frontends]
-BACKEND = http://backend.test.taler.net/
+
+# Merchant backend to use.
+backend = http://backend.test.taler.net/
+
+# This value will fill: "Authorization: ApiKey <fill here>"
+backend_apikey = sandbox
[donations]
-UWSGI_UNIXPATH_MODE = 660
+
+# The following three options configure the way the donations
+# shop will serve UWSGI requests via unix domain sockets.
+uwsgi_serve = unix
+uwsgi_unixpath = /path/to/donations.uwsgi
+uwsgi_unixpath_mode = 660
+
+# The following option picks the merchant instance that
+# will be represented by the running donations shop.
instance = default
-UWSGI_SERVE = unix
-UWSGI_UNIXPATH = $HOME/sockets/donations.uwsgi
-UWSGI_UNIXMODE = 666