[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-docs] branch master updated: euFin tutorial
From: |
gnunet |
Subject: |
[taler-docs] branch master updated: euFin tutorial |
Date: |
Thu, 19 May 2022 06:29:42 +0200 |
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 3c29cfb euFin tutorial
3c29cfb is described below
commit 3c29cfbc41c0c7fcc93e5ad0e8415746e9b452cb
Author: ms <ms@taler.net>
AuthorDate: Thu May 19 06:28:29 2022 +0200
euFin tutorial
how to specify default exchange and hook Nginx to the Sandbox.
---
libeufin/nexus-tutorial.rst | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/libeufin/nexus-tutorial.rst b/libeufin/nexus-tutorial.rst
index d0aed0e..e8a4006 100644
--- a/libeufin/nexus-tutorial.rst
+++ b/libeufin/nexus-tutorial.rst
@@ -170,6 +170,13 @@ A default demobank having the EUR currency is created with
the following command
$ export LIBEUFIN_SANDBOX_DB_CONNECTION=jdbc:sqlite:/tmp/libeufintestdb
$ libeufin-sandbox config --currency EUR default
+In order to use Taler, a default exchange needs to be configured.
+
+.. code-block:: console
+
+ $ export LIBEUFIN_SANDBOX_DB_CONNECTION=jdbc:sqlite:/tmp/libeufintestdb
+ $ libeufin-sandbox default-exchange --demobank default $exchange_base_url
$exchange_payto_address
+
The sandbox service can now be started with the following command:
.. code-block:: console
@@ -178,6 +185,20 @@ The sandbox service can now be started with the following
command:
$ export LIBEUFIN_SANDBOX_DB_CONNECTION=jdbc:sqlite:/tmp/libeufintestdb
$ libeufin-sandbox serve --port 5016
+The instructions below hook Nginx to the Sandbox:
+
+.. code-block:: console
+
+ redirect / to /demobanks/default;
+ rewrite ^/$ https://$host/demobanks/default;
+ location / {
+ proxy_set_header Host $host;
+ proxy_set_header X-Forwarded-Host $host;
+ proxy_set_header X-Forwarded-Proto "https";
+ proxy_set_header X-Forwarded-Prefix "/";
+ proxy_pass http://localhost:5016/;
+ }
+
To reset the state of the sandbox, delete the database.
For invocations of the LibEuFin command-line interface tool (``libeufin-cli``),
--
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: euFin tutorial,
gnunet <=