diff options
Diffstat (limited to 'libeufin')
-rw-r--r-- | libeufin/nexus-tutorial.rst | 10 |
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``) |