From 474f160fd21e2697f11eebf642952e1807b06577 Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen Date: Tue, 10 Aug 2021 14:23:53 -0400 Subject: document libeufin-sandbox invocation sans LIBEUFIN_SANDBOX_DB_CONNECTION env var see also --- libeufin/nexus-tutorial.rst | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'libeufin/nexus-tutorial.rst') diff --git a/libeufin/nexus-tutorial.rst b/libeufin/nexus-tutorial.rst index 53fae68d..4fcb9e27 100644 --- 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``) -- cgit v1.2.3