summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2018-01-17 23:32:42 +0100
committerFlorian Dold <florian.dold@gmail.com>2018-01-17 23:33:03 +0100
commite3ed88e2a29e696216dc1a2ad450c940ccf049b6 (patch)
tree8e4cd827ac02222e9e650162095a1057fcfd857b
parent35b80228d924ad64c9198643bb07db85e6947cbf (diff)
downloaddeployment-e3ed88e2a29e696216dc1a2ad450c940ccf049b6.tar.gz
deployment-e3ed88e2a29e696216dc1a2ad450c940ccf049b6.tar.bz2
deployment-e3ed88e2a29e696216dc1a2ad450c940ccf049b6.zip
add address info for merchants
-rwxr-xr-xconfig/generate-config14
1 files changed, 4 insertions, 10 deletions
diff --git a/config/generate-config b/config/generate-config
index 33c8167..37f5754 100755
--- a/config/generate-config
+++ b/config/generate-config
@@ -71,11 +71,6 @@ def config(currency, envname, exchange_pub, standalone):
cfg_put("donations", "uwsgi_unixpath", "$HOME/sockets/donations.uwsgi")
cfg_put("donations", "uwsgi_unixpath_mode", "660")
- cfg_put("backoffice-donations", "instances", "FSF GNUnet Tor Taler")
- cfg_put("backoffice-donations", "uwsgi_serve", "unix")
- cfg_put("backoffice-donations", "uwsgi_unixpath", "$HOME/sockets/backoffice-donations.uwsgi")
- cfg_put("backoffice-donations", "uwsgi_unixpath_mode", "660")
-
cfg_put("survey", "uwsgi_serve", "unix")
cfg_put("survey", "uwsgi_unixpath", "$HOME/sockets/survey.uwsgi")
cfg_put("survey", "uwsgi_unixpath_mode", "660")
@@ -85,11 +80,6 @@ def config(currency, envname, exchange_pub, standalone):
cfg_put("blog", "uwsgi_unixpath_mode", "660")
cfg_put("blog", "instance", "FSF")
- cfg_put("backoffice-blog", "instances", "FSF")
- cfg_put("backoffice-blog", "uwsgi_serve", "unix")
- cfg_put("backoffice-blog", "uwsgi_unixpath", "$HOME/sockets/backoffice-blog.uwsgi")
- cfg_put("backoffice-blog", "uwsgi_unixpath_mode", "660")
-
if standalone:
cfg_put("backoffice-blog", "backend", "https://env.taler.net/{}/merchant-backend/".format(envname))
cfg_put("backoffice-donations", "backend", "https://env.taler.net/{}/merchant-backend/".format(envname))
@@ -191,6 +181,9 @@ def config(currency, envname, exchange_pub, standalone):
# instance FSF
cfg_put("merchant-instance-FSF", "keyfile", "${TALER_DEPLOYMENT_SHARED}/merchant/fsf.priv")
cfg_put("merchant-instance-FSF", "name", "Free Software Foundation")
+ cfg_put("merchant-location-FSF-address", "street", "51 Franklin Street, Fifth Floor.")
+ cfg_put("merchant-location-FSF-address", "city", "Boston")
+ cfg_put("merchant-location-FSF-address", "country", "USA")
# instance Tor
cfg_put("merchant-instance-Tor", "keyfile", "${TALER_DEPLOYMENT_SHARED}/merchant/tor.priv")
cfg_put("merchant-instance-Tor", "name", "The Tor Project")
@@ -203,6 +196,7 @@ def config(currency, envname, exchange_pub, standalone):
# instance default
cfg_put("merchant-instance-default", "keyfile", "${TALER_DEPLOYMENT_SHARED}/merchant/default.priv")
cfg_put("merchant-instance-default", "name", "Kudos Inc.")
+ cfg_put("merchant-location-default-address", "country", "Kudosland")
cfg_put("merchant-instance-default", "tip_reserve_priv_filename", "${TALER_DEPLOYMENT_SHARED}/merchant/default-tip.priv")
cfg_put("merchant-instance-default", "tip_exchange", "https://exchange.{}.taler.net/".format(envname))
# instance tutorial