gnunet-svn
[Top][All Lists]
Advanced

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

[taler-bank] branch master updated: readme


From: gnunet
Subject: [taler-bank] branch master updated: readme
Date: Fri, 09 Oct 2020 16:07:45 +0200

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

ms pushed a commit to branch master
in repository bank.

The following commit(s) were added to refs/heads/master by this push:
     new 8053da5  readme
8053da5 is described below

commit 8053da5e78e92bb7e995673d1208cf935aca90a0
Author: MS <ms@taler.net>
AuthorDate: Fri Oct 9 16:07:41 2020 +0200

    readme
---
 README | 69 ++++++++++++++++++++++++++++--------------------------------------
 1 file changed, 29 insertions(+), 40 deletions(-)

diff --git a/README b/README
index d4548b3..6fc3189 100644
--- a/README
+++ b/README
@@ -1,60 +1,49 @@
 
-This code implements a bank Web portal that tightly integrates with
-the GNU Taler payment system.  The bank it primarily meant be used as
-part of a demonstrator for the Taler system.
+This code implements a bank Web portal that tightly integrates
+with the GNU Taler payment system.  The bank it primarily meant
+be used as part of a demonstrator for the Taler system.
 
-================== HOW TO INSTALL THE BANK =================
+HOW TO INSTALL THE BANK
+=======================
 
 From the repository's top directory, run
 
 $ ./configure --destination=local|global
 
-================== HOW TO CONFIGURE THE BANK =================
+HOW TO CONFIGURE THE BANK
+=========================
 
-The bank obeys to the INI syntax for configuration files. When launched, the 
bank
-will by default look for a configuration file located at ~/.config/taler.conf.
-To override this behaviour, give the -c option when launching the bank.
+The bank obeys to the INI syntax for configuration files.
+When launched, the bank will by default look for a configuration
+file located at ~/.config/taler.conf.  To override this behaviour,
+give the -c option when launching the bank.
 
-In order to properly run, the bank needs the following parts to be configured
+The following configuration instance makes the bank serve over
+HTTP, at port 5882.
 
-* Database name: connection string for the database to be used, currently 
Postgresql.
-* Debt thresholds
-* Suggested exchange
-* Serving: is UWSGI over unix sockets in the example below.
-
-# Mandatory section name
 [bank]
+serve = http
+http_port = 5882
+database = postgres:///talerlocal
+max_debt = LOCALKUDOS:500.0
+max_debt_bank = LOCALKUDOS:1000000000.0
+allow_registrations = YES
+base_url = http://localhost:5882/
+suggested_exchange = http://localhost:5884/
 
-UWSGI_SERVE = unix
-UWSGI_UNIXPATH = /deployment/sockets/bank.uwsgi
-UWSGI_UNIXPATH_MODE = 660
-
-DATABASE = postgres:///talerlocal
-
-# Maximum debt allowed for normal users.
-MAX_DEBT = KUDOS:60.0
-
-# Maximum debt allowed for the bank itself.
-MAX_DEBT_BANK = KUDOS:0.0 # Zero means infinite debt allowed!
-
-# The following option lets the bank suggest a default exchange
-# when the customer withdraws Taler coins.
-SUGGESTED_EXCHANGE = http://exchange.example.com/
-
-================== HOW TO LAUNCH THE BANK =================
-
-$ taler-bank-manage serve-uwsgi
-
-or the following for HTTP:
+HOW TO LAUNCH THE BANK
+======================
 
-$ taler-bank-manage serve-http --port $PORT_NUMBER
+$ taler-bank-manage serve
 
-================== HOW TO RUN YOUR TESTS =================
+RUNNING TESTS
+=============
 
-From the repository's top directory, just issue
+From the repository's top directory:
 
 $ make check
 
-================= HOW TO FORCE MIGRATIONS =================
+HOW TO FORCE MIGRATIONS
+=======================
 
 
https://simpleisbetterthancomplex.com/tutorial/2016/07/26/how-to-reset-migrations.html

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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