commit 613e61583ff4d75d62040b451f473943cf658d00
parent 1e54e70ec3d9aeebcd0f7d987ea0d0ec439df52e
Author: MS <ms@taler.net>
Date: Wed, 4 Jan 2023 09:49:40 +0100
Libeufin tutorial.
The user is not required to enter the complete
demobank URL anymore.
Diffstat:
1 file changed, 5 insertions(+), 12 deletions(-)
diff --git a/libeufin/nexus-tutorial.rst b/libeufin/nexus-tutorial.rst
@@ -235,28 +235,22 @@ the respective value is not specified on the command line.
Next, register a user. For the ``libeufin-cli sandbox demobank register``
command, the ``LIBEUFIN_SANDBOX_USERNAME`` and ``LIBEUFIN_SANDBOX_PASSWORD``
are assumed to be ``jrluser`` and ``easy``, respectively.
-Also, the URL for all ``libeufin-cli sandbox demobank`` commands
-must include the name of a bank, as follows:
+
+.. note::
+
+ All the following commands address the ``default`` demobank, see ``libeufin-cli sandbox demobank --help``.
.. code-block:: console
$ export LIBEUFIN_SANDBOX_USERNAME=jrluser
$ export LIBEUFIN_SANDBOX_PASSWORD=easy
- $ libeufin-cli sandbox \
- --sandbox-url http://localhost:5016/demobanks/default \
- demobank register
-
-In this example, the bank name is ``default``. In these examples, we use the
-``--sandbox-url`` option for the ``demobank`` commands, so that we don't need
-to change the environment variable ``LIBEUFIN_SANDBOX_URL`` for the
-non-``demobank`` commands.
+ $ libeufin-cli sandbox demobank register
Check the balance of the user just created:
.. code-block:: console
$ libeufin-cli sandbox \
- --sandbox-url http://localhost:5016/demobanks/default \
demobank info --bank-account jrluser
With a user registered, we can now create an EBICS subscriber (identified by
@@ -273,7 +267,6 @@ are reset back to ``admin`` and ``secret``, respectively.
$ export LIBEUFIN_SANDBOX_USERNAME=admin
$ export LIBEUFIN_SANDBOX_PASSWORD=secret
$ libeufin-cli sandbox \
- --sandbox-url http://localhost:5016/demobanks/default \
demobank new-ebicssubscriber \
--host-id testhost \
--partner-id partner01 \