From 62b549f47e86634b8ee822268770ee553e8455a3 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Fri, 24 May 2019 17:23:58 +0200 Subject: provide default config --- Makefile.in | 1 + donations.conf | 20 +++++++++++++++----- 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 " +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 -- cgit v1.2.3