summaryrefslogtreecommitdiff
path: root/libeufin/nexus-tutorial.rst
diff options
context:
space:
mode:
authorThien-Thi Nguyen <ttn@gnuvola.org>2021-08-10 14:23:53 -0400
committerThien-Thi Nguyen <ttn@gnuvola.org>2021-08-10 14:23:53 -0400
commit474f160fd21e2697f11eebf642952e1807b06577 (patch)
tree7f123aab2452c4944884e008c9f961bcc53bff57 /libeufin/nexus-tutorial.rst
parentbec6adcd8fabe966f0795390e3306da5b722cc75 (diff)
downloaddocs-474f160fd21e2697f11eebf642952e1807b06577.tar.gz
docs-474f160fd21e2697f11eebf642952e1807b06577.tar.bz2
docs-474f160fd21e2697f11eebf642952e1807b06577.zip
document libeufin-sandbox invocation sans LIBEUFIN_SANDBOX_DB_CONNECTION env var
see also <https://bugs.gnunet.org/view.php?id=6695>
Diffstat (limited to 'libeufin/nexus-tutorial.rst')
-rw-r--r--libeufin/nexus-tutorial.rst10
1 files changed, 9 insertions, 1 deletions
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``)