gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-backoffice] branch master updated (42b4750 -> b96dc5


From: gnunet
Subject: [GNUnet-SVN] [taler-backoffice] branch master updated (42b4750 -> b96dc56)
Date: Wed, 17 Jan 2018 14:55:07 +0100

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

marcello pushed a change to branch master
in repository backoffice.

    from 42b4750  docstlye
     new 238857d  configuration explained
     new b96dc56  Run instructions.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 doc/manual.texi | 146 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 143 insertions(+), 3 deletions(-)

diff --git a/doc/manual.texi b/doc/manual.texi
index c19f381..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}.
 
@@ -50,12 +50,152 @@ Texts.  A copy of the license is included in the section 
entitled
 @end ifnottex
 
 @menu
-* Introduction::                           What servives the Web application 
provides.
+* Introduction::                           What services the Web application 
provides.
+* Installation::                           Where to find the code and how to 
install it.
+* Configuration::                          How to configure the Web 
application.
+* Run::                                    How to run the Web application.
 @end menu
 
 @node Introduction
 @chapter Introduction
 
-TBD.
+The back-office Web application let the merchant check whether their
+Taler transactions were payed back by a wire transfer, and viceversa:
+which transactions correspond to a given wire transfer.
+
+This manual will guide the merchant through the installation and configuration
+of this Web application.
+
address@hidden Installation
address@hidden Installation
+
+The back-office Web application code is available at the repository:
address@hidden://taler.net/backoffice}.  The application can be installed
+in a GNU-ish fashion.
+
address@hidden
+# Get the code:
+$ git clone git://taler.net/backoffice
+
+# Bootstrap and configure
+$ cd backoffice
+$ ./bootstrap
+# This step will check if the system is ready to
+# allow the installation.
+$ ./configure --prefix=<PFX>
+$ make install
address@hidden example
+
+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 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
+this Web application will work against.
+
+The merchant backend is an important agent, as it is responsible for
+returning all the informations about transactions and wire transfers
+(informally called "tracks").  Therefore, this Web application is merely
+a frontend for it.
+
+Assuming the reader is familiar with configuration in Taler (if not, read:
address@hidden://docs.taler.net/exchange/html/taler-exchange.html#Configuration-format}),
+a working configuration example is the following one:
+
address@hidden
+
+[taler]
+# will be EUR, USD, or whatever currency the merchant
+# works with.
+currency = KUDOS
+
+# each back-office Web application is associated with a "frontend
+# name": this name instructs the application which configuration
+# section is going to be read.  Thus <name> is the "frontend name"
+# and must be specified on the command line via the "--frontend"
+# option.  See the 'Run' chapter for more details on launching the
+# application.
+[backoffice-<name>]
+
+# <how> can be 'html' or 'uwsgi', so as to serve the Web site
+# via HTTP or WSGI.
+uwsgi_serve = <how>
+
+# those options will be read if the Web site is served via
+# WSGI.
+uwsgi_unixpath_mode = 660
+uwsgi_unixpath = /path/to/backoffice-<name>.uwsgi
+uwsgi_unixmode = 666
+
+# this option will be read if the Web site is served via
+# HTTP.
+http_port = 5959
+
+# specifies which merchant backend is going to be used.
+backend = http://backend.test.taler.net/
+
+# FIXME: put instance link.  This link does not exist yet; only
+# the merchant manual has some paragraph about this subject, but
+# it is not directly linkable.
+
+# Informally speaking, each instance points to both a private
+# key that can sign proposals and a bank account that can receive
+# wire transfers by some exchange.
+
+# Please see <..> for more information about instances.
+
+# Here, <instance_i> is just a string (with no spaces) that will
+# make the referenced instance be traceable by the back-office Web
+# application.
+
+instances = <instance_1> <instance_2> ..
address@hidden 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



reply via email to

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