[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-deployment] branch master updated: Netzbon setup.
From: |
gnunet |
Subject: |
[taler-deployment] branch master updated: Netzbon setup. |
Date: |
Sat, 04 Mar 2023 15:08:27 +0100 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository deployment.
The following commit(s) were added to refs/heads/master by this push:
new 718881f Netzbon setup.
718881f is described below
commit 718881f9ed5f778dfc9a5d5ff8bf6bc2af6df320
Author: MS <ms@taler.net>
AuthorDate: Sat Mar 4 15:05:51 2023 +0100
Netzbon setup.
Adding missing parts in the Libeufin preparation
script. Namely, setting the default exchange and
sharing the exchange IBAN in the environment.
---
netzbon/config_launch_libeufin.sh | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/netzbon/config_launch_libeufin.sh
b/netzbon/config_launch_libeufin.sh
index c19e942..faf5baf 100755
--- a/netzbon/config_launch_libeufin.sh
+++ b/netzbon/config_launch_libeufin.sh
@@ -112,6 +112,22 @@ libeufin-cli \
demobank register
echo "DONE"
+echo -n "Getting the exchange IBAN and Payto URI..."
+EXCHANGE_DETAILS=$(libeufin-cli \
+ sandbox --sandbox-url http://localhost:5000/ \
+ demobank info)
+echo "DONE"
+
+EXCHANGE_IBAN=$(echo $EXCHANGE_DETAILS | jq -r .iban)
+EXCHANGE_PAYTO=$(echo $EXCHANGE_DETAILS | jq -r .paytoUri)
+
+# Communicating this to the exchange script, as the exchange
+# needs it for the /wire response.
+export EXCHANGE_IBAN
+
+echo -n "Setting the default exchange at Sandbox..."
+libeufin-sandbox default-exchange https://exchange.$DOMAIN_NAME/
$EXCHANGE_PAYTO
+echo "DONE"
export LIBEUFIN_SANDBOX_USERNAME="admin"
export LIBEUFIN_SANDBOX_PASSWORD=$SANDBOX_ADMIN_PASSWORD
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-deployment] branch master updated: Netzbon setup.,
gnunet <=