[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-bank] branch stable updated (4e54940 -> b08ec92)
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-bank] branch stable updated (4e54940 -> b08ec92) |
Date: |
Mon, 01 Apr 2019 21:47:22 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a change to branch stable
in repository bank.
from 4e54940 Remove garbage gone through conflict resolution.
add b08ec92 Serving static files via uWSGI.
No new revisions were added by this update.
Summary of changes:
taler-bank-manage.in | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/taler-bank-manage.in b/taler-bank-manage.in
index 82f4156..5fa10cf 100644
--- a/taler-bank-manage.in
+++ b/taler-bank-manage.in
@@ -68,6 +68,7 @@ def handle_serve_http(args):
call_command('migrate')
call_command('provide_accounts')
call_command('check')
+ call_command('collectstatic', '--noinput')
port = args.port
TC = TalerConfig.from_file(os.environ.get("TALER_CONFIG_FILE",
args.config))
if port is None:
@@ -75,6 +76,7 @@ def handle_serve_http(args):
httpspec = ":%d" % (port,)
params = ["uwsgi", "uwsgi",
+ "--static-map", "/static=/tmp/talerbankstatic",
"--master",
"--die-on-term",
"--http", httpspec,
@@ -94,10 +96,12 @@ def handle_serve_uwsgi(args):
call_command('migrate')
call_command('provide_accounts')
call_command('check')
+ call_command('collectstatic', '--noinput')
TC = TalerConfig.from_file(os.environ.get("TALER_CONFIG_FILE",
args.config))
serve_uwsgi = TC["bank"]["uwsgi_serve"].value_string(required=True).lower()
params = ["uwsgi", "uwsgi",
"--master",
+ "--static-map", "/static=/tmp/talerbankstatic",
"--die-on-term",
"--log-format", UWSGI_LOGFMT,
"--wsgi-file", "@prefix@/share/taler-bank/bank.wsgi"]
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-bank] branch stable updated (4e54940 -> b08ec92),
gnunet <=