[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-backoffice] 02/02: Run instructions.
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-backoffice] 02/02: Run instructions. |
Date: |
Wed, 17 Jan 2018 14:55:09 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository backoffice.
commit b96dc566f0a6622c6c77a5b97ddcb4a5a383a8bd
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed Jan 17 14:54:37 2018 +0100
Run instructions.
---
doc/manual.texi | 49 ++++++++++++++++++++++++++++++++++++++++++++++---
1 file changed, 46 insertions(+), 3 deletions(-)
diff --git a/doc/manual.texi b/doc/manual.texi
index 7f8d5fc..18262c6 100644
--- a/doc/manual.texi
+++ b/doc/manual.texi
@@ -1,6 +1,6 @@
\input texinfo @c -*-texinfo-*-
@c %**start of header
address@hidden onboarding.info
address@hidden manual.info
@include version.texi
@settitle Back-office Web application manual @value{VERSION}.
@@ -90,8 +90,8 @@ Note: @code{<PFX>/bin} must be included in the @code{$PATH},
and @code{<PFX>/lib/python3.5/site-packages/} in @code{$PYTHONPATH}
in order to make the application work.
address@hidden
address@hidden
address@hidden Configuration
address@hidden Configuration
The following information must come from configuration: how to
serve the Web site, which currency is used, and which merchant backend
@@ -155,4 +155,47 @@ backend = http://backend.test.taler.net/
instances = <instance_1> <instance_2> ..
@end example
address@hidden Run
address@hidden Run
+
+The following example shows how to run the Web application.
+
address@hidden
+# such invocation will work only if the configuration contains
+# a section called "[backoffice-animalshop]" which looks like the
+# example above.
+
+# As of serving, the Web site will be available via HTTP, at the
+# port specified in the configuration option "http_port", at localhost.
+
+$ taler-merchant-backoffice --frontend animalshop serve-http
address@hidden example
+
+Other options - like e.g. serve the site via WSGI - are showed by the
+usual @code{--help} argument. Do
+
address@hidden
+$ taler-merchant-backoffice --help
+
+
+# Output:
+#
+# usage: taler-merchant-backoffice [-h] [--config CONFIG] --frontend FRONTEND
+# @{serve-http,address@hidden ...
+#
+# positional arguments:
+# @{serve-http,address@hidden
+# serve-http Serve over HTTP
+# serve-uwsgi Serve over UWSGI
+#
+# optional arguments:
+# -h, --help show this help message and exit
+# --config CONFIG, -c CONFIG
+# configuration file to use
+# --frontend FRONTEND, -f FRONTEND
+# fetch config values from [backoffice-<FRONTEND>]
+# section
+
address@hidden example
+
@bye
--
To stop receiving notification emails like this one, please contact
address@hidden