commit b67c45bdde010714074048995101fe8139f788b7
parent 0556ae3d0a5fca3667c7a41f1b2d0cbd1c72873a
Author: Thien-Thi Nguyen <ttn@gnuvola.org>
Date: Fri, 21 Jan 2022 04:49:20 -0500
include ‘--no-auth’ in ‘sandbox serve’ invocation
Also, explain why it's there.
Diffstat:
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/libeufin/nexus-tutorial.rst b/libeufin/nexus-tutorial.rst
@@ -141,7 +141,7 @@ If this variable is not set, ``libeufin-sandbox`` complains and exits:
.. code-block:: console
- $ libeufin-sandbox serve
+ $ libeufin-sandbox serve --no-auth
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
@@ -149,13 +149,16 @@ If this variable is not set, ``libeufin-sandbox`` complains and exits:
Only *SQLite* and *PostgreSQL (via TCP)* are supported right now.
+The option ``--no-auth`` disables authentication since ``libeufin-cli``
+(described below) does not currently support authenticated interaction.
+
For the following commands, the sandbox service must be running.
The sandbox service is started with the following command:
.. code-block:: console
$ export LIBEUFIN_SANDBOX_DB_CONNECTION=jdbc:sqlite:/tmp/libeufintestdb
- $ libeufin-sandbox serve --port 5016
+ $ libeufin-sandbox serve --port 5016 --no-auth
To reset the state of the sandbox, delete the database.