taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit 474f160fd21e2697f11eebf642952e1807b06577
parent bec6adcd8fabe966f0795390e3306da5b722cc75
Author: Thien-Thi Nguyen <ttn@gnuvola.org>
Date:   Tue, 10 Aug 2021 14:23:53 -0400

document libeufin-sandbox invocation sans LIBEUFIN_SANDBOX_DB_CONNECTION env var

see also <https://bugs.gnunet.org/view.php?id=6695>

Diffstat:
Mlibeufin/nexus-tutorial.rst | 10+++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/libeufin/nexus-tutorial.rst b/libeufin/nexus-tutorial.rst @@ -135,7 +135,15 @@ core banking system with EBICS access to bank accounts. The sandbox relies on a database, which you must specify using a JDBC connection URI with the ``LIBEUFIN_SANDBOX_DB_CONNECTION`` environment variable, before invoking any commands. -(If this variable is not set, ``libeufin-sandbox`` complains and exits.) +If this variable is not set, ``libeufin-sandbox`` complains and exits: + +.. code-block:: console + + $ libeufin-sandbox serve + DB connection string not found/valid in the env variable LIBEUFIN_SANDBOX_DB_CONNECTION. + The following two examples are valid connection strings: + jdbc:sqlite:/tmp/libeufindb.sqlite3 + jdbc:postgresql://localhost:5432/libeufindb?user=Foo&password=secret Only *SQLite* (e.g. ``jdbc:sqlite:/tmp/libeufintestdb``) and *PostgreSQL (via TCP)* (e.g. ``jdbc:postgresql://localhost:$port/libeufintestdb?user=$username&password=$password``)