[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-docs] branch master updated: regio tutorial
From: |
gnunet |
Subject: |
[taler-docs] branch master updated: regio tutorial |
Date: |
Mon, 06 Mar 2023 15:14:53 +0100 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository docs.
The following commit(s) were added to refs/heads/master by this push:
new c501028 regio tutorial
c501028 is described below
commit c5010284c65634042f4512877d084c734330e789
Author: MS <ms@taler.net>
AuthorDate: Mon Mar 6 15:13:41 2023 +0100
regio tutorial
adapting some instructions to let the Docker-
and the source-based installations equally behave.
---
libeufin/local-currencies-tutorial.rst | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/libeufin/local-currencies-tutorial.rst
b/libeufin/local-currencies-tutorial.rst
index 2178eca..2fd87f2 100644
--- a/libeufin/local-currencies-tutorial.rst
+++ b/libeufin/local-currencies-tutorial.rst
@@ -83,6 +83,7 @@ should suffice to start Sandbox and NGINX, by mapping
the host's 8080 port to the container's 80.
.. code-block:: console
+
$ export LIBEUFIN_EXPOSED_PORT=8080
$ docker run \
-e LIBEUFIN_EXPOSED_PORT=$LIBEUFIN_EXPOSED_PORT \
@@ -104,9 +105,11 @@ values.
$ export MY_ADMIN_PASSWORD=secret
$ export LIBEUFIN_EXPOSED_PORT=8080
$ docker run \
- -e LIBEUFIN_SANDBOX_ADMIN_PASSWORD=$MY_ADMIN_PASSWORD
+ -e LIBEUFIN_SANDBOX_ADMIN_PASSWORD=$MY_ADMIN_PASSWORD \
-e CURRENCY=NB \
+ -e LIBEUFIN_EXPOSED_PORT=$LIBEUFIN_EXPOSED_PORT \
-v libeufin_data:/libeufin-data \
+ -v /tmp:/tmp \
-p $LIBEUFIN_EXPOSED_PORT:80 \
-p 5016:5016 \
-it nlnet
@@ -117,8 +120,11 @@ In the example above, Docker:
1. Sets the currency to *NB*
2. Stores the database in a *volume*. This helps to
share the database between containers.
-3. Maps the host's 8080 to the container's 80 port.
-4. Maps the host's 5016 to the container's 5016 port.
+3. Mounts container's ``/tmp`` to the host's, to let
+ the reader obtain the file TAN in the same way the
+ source-based installation does.
+4. Maps the host's 8080 to the container's 80 port.
+5. Maps the host's 5016 to the container's 5016 port.
That lets the CLI reach Sandbox inside the container,
and therefore run the tutorial.
@@ -225,7 +231,7 @@ this request, to make sure that both parties agree.
demobank \
circuit-cashout \
--amount-debit=NB:1 \
- --amount-credit=FIAT:0.95 \
+ --amount-credit=CHF:0.95 \
--tan-channel=file
If the previous command succeeded, it returned a JSON looking
@@ -277,7 +283,7 @@ account.
.. code-block:: console
- "subject" : "Cash-out of NB:1 to FIAT:0.95"
+ "subject" : "Cash-out of NB:1 to CHF:0.95"
The next commands show how to delete one account from
the local currency circuit. For the deletion to succeed,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-docs] branch master updated: regio tutorial,
gnunet <=