summaryrefslogtreecommitdiff
path: root/libeufin/nexus-tutorial.rst
diff options
context:
space:
mode:
authorThien-Thi Nguyen <ttn@gnuvola.org>2022-01-21 04:49:20 -0500
committerThien-Thi Nguyen <ttn@gnuvola.org>2022-01-21 04:49:20 -0500
commitb67c45bdde010714074048995101fe8139f788b7 (patch)
treecdc3a8c32edb41d5230dda65b7b19bf7b0157378 /libeufin/nexus-tutorial.rst
parent0556ae3d0a5fca3667c7a41f1b2d0cbd1c72873a (diff)
downloaddocs-b67c45bdde010714074048995101fe8139f788b7.tar.gz
docs-b67c45bdde010714074048995101fe8139f788b7.tar.bz2
docs-b67c45bdde010714074048995101fe8139f788b7.zip
include ‘--no-auth’ in ‘sandbox serve’ invocation
Also, explain why it's there.
Diffstat (limited to 'libeufin/nexus-tutorial.rst')
-rw-r--r--libeufin/nexus-tutorial.rst7
1 files changed, 5 insertions, 2 deletions
diff --git a/libeufin/nexus-tutorial.rst b/libeufin/nexus-tutorial.rst
index 5ce357b5..640a65df 100644
--- 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.