summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-05-24 17:23:58 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2019-05-24 17:23:58 +0200
commit62b549f47e86634b8ee822268770ee553e8455a3 (patch)
treefdeda836d6deca102487246a150fe3ebbd3cb252
parent27e5a47358437bc6e1894be0ddc9689761a39bcd (diff)
downloaddonations-62b549f47e86634b8ee822268770ee553e8455a3.tar.gz
donations-62b549f47e86634b8ee822268770ee553e8455a3.tar.bz2
donations-62b549f47e86634b8ee822268770ee553e8455a3.zip
provide default config
-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