gnunet-svn
[Top][All Lists]
Advanced

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

[taler-docs] branch master updated: Sandbox tutorial.


From: gnunet
Subject: [taler-docs] branch master updated: Sandbox tutorial.
Date: Wed, 04 May 2022 15:38:17 +0200

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

ms pushed a commit to branch master
in repository docs.

The following commit(s) were added to refs/heads/master by this push:
     new b2c2647  Sandbox tutorial.
b2c2647 is described below

commit b2c2647934f96727cc9adaae9b59374161b5c662
Author: ms <ms@taler.net>
AuthorDate: Wed May 4 15:37:46 2022 +0200

    Sandbox tutorial.
    
    Section about the default demobank.
---
 libeufin/nexus-tutorial.rst | 20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)

diff --git a/libeufin/nexus-tutorial.rst b/libeufin/nexus-tutorial.rst
index df8ba1b..9eca0eb 100644
--- a/libeufin/nexus-tutorial.rst
+++ b/libeufin/nexus-tutorial.rst
@@ -153,8 +153,24 @@ If this variable is not set, ``libeufin-sandbox`` 
complains and exits:
 
 Only *SQLite* and *PostgreSQL (via TCP)* are supported right now.
 
-For the following commands, the sandbox service must be running.
-The sandbox service is started with the following command:
+Before being usable, a Sandbox needs to be configured.  This is done
+by creating the `default` demobank.  A demobank is a set of configuration
+values associated to one name; in the example below, we'll create one
+named `default`, that is mandatory to have.
+
+.. note::
+
+   By design, many demobanks can be hosted by one running Sandbox,
+   although at the time of writing only the 'default' one is supported.
+
+A default demobank having the EUR currency is created with the following 
command:
+
+.. code-block:: console
+
+   $ export LIBEUFIN_SANDBOX_DB_CONNECTION=jdbc:sqlite:/tmp/libeufintestdb
+   $ libeufin-sandbox config --currency EUR default
+
+The sandbox service can now be started with the following command:
 
 .. code-block:: console
 

-- 
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]