gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-deployment] branch master updated: adding config sec


From: gnunet
Subject: [GNUnet-SVN] [taler-deployment] branch master updated: adding config sections for backoffice
Date: Fri, 05 Jan 2018 12:22:20 +0100

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new f1e6b4f  adding config sections for backoffice
f1e6b4f is described below

commit f1e6b4f3fcc6e87d4dfae684f0ef3a1e4b3f2514
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Jan 5 12:22:02 2018 +0100

    adding config sections for backoffice
---
 config/generate-config | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/config/generate-config b/config/generate-config
index 9ef7d50..d4d5a56 100755
--- a/config/generate-config
+++ b/config/generate-config
@@ -71,6 +71,11 @@ 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")
@@ -80,6 +85,18 @@ 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))
+    else:
+        cfg_put("backoffice-blog", "backend", 
"https://shop.{}.taler.net/backend/".format(envname))
+        cfg_put("backoffice-donations", "backend", 
"https://shop.{}.taler.net/backend/".format(envname))
+
     cfg_put("merchant", "wireformat", "test")
     cfg_put("merchant", "serve", "unix")
     cfg_put("merchant", "unixpath", "$HOME/sockets/merchant.http")

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]