[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-deployment] branch master updated: fix URLs
From: |
gnunet |
Subject: |
[taler-deployment] branch master updated: fix URLs |
Date: |
Sat, 04 Mar 2023 16:01:01 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository deployment.
The following commit(s) were added to refs/heads/master by this push:
new 6834a8e fix URLs
6834a8e is described below
commit 6834a8e18cf5400a201492874270bb588bfdccb9
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Mar 4 16:00:58 2023 +0100
fix URLs
---
netzbon/config_launch_libeufin.sh | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/netzbon/config_launch_libeufin.sh
b/netzbon/config_launch_libeufin.sh
index c1e588f..df12d5b 100755
--- a/netzbon/config_launch_libeufin.sh
+++ b/netzbon/config_launch_libeufin.sh
@@ -68,7 +68,6 @@ fi
echo -n "Configure the default demobank with ${CURRENCY}..."
-# FIXME: no sign up bonus, no debt should be the default here!
cd /tmp
sudo -E -u libeufin-sandbox \
libeufin-sandbox config \
@@ -83,11 +82,13 @@ echo -n "Start the bank..."
export LIBEUFIN_SANDBOX_ADMIN_PASSWORD="${SANDBOX_ADMIN_PASSWORD}"
echo "LIBEUFIN_SANDBOX_ADMIN_PASSWORD=\"${SANDBOX_ADMIN_PASSWORD}\"" >>
/etc/libeufin/sandbox.env
+# TODO: grab port from configuration?
+SANDBOX_URL="http://localhost:5016/"
systemctl enable --now libeufin-sandbox
echo "DONE"
echo -n "Wait for the bank..."
-curl --max-time 2 --retry-connrefused --retry-delay 1 --retry 10
http://localhost:5016/ &> /dev/null
+curl --max-time 2 --retry-connrefused --retry-delay 1 --retry 10
${SANDBOX_URL} &> /dev/null
echo "DONE"
@@ -103,7 +104,7 @@ systemctl enable --now libeufin-nexus
echo "DONE"
echo -n "Waiting for Nexus..."
-curl --max-time 2 --retry-connrefused --retry-delay 1 --retry 10
http://localhost:5001/ &> /dev/null
+curl --max-time 2 --retry-connrefused --retry-delay 1 --retry 10
http://localhost:5017/ &> /dev/null
echo "DONE"
@@ -111,13 +112,13 @@ echo -n "Register the exchange Sandbox account..."
export LIBEUFIN_SANDBOX_USERNAME="exchange-at-sandbox"
export LIBEUFIN_SANDBOX_PASSWORD=$SANDBOX_EXCHANGE_PASSWORD
libeufin-cli \
- sandbox --sandbox-url http://localhost:5000/ \
+ sandbox --sandbox-url ${SANDBOX_URL} \
demobank register
echo "DONE"
echo -n "Getting the exchange IBAN and Payto URI..."
EXCHANGE_DETAILS=$(libeufin-cli \
- sandbox --sandbox-url http://localhost:5000/ \
+ sandbox --sandbox-url ${SANDBOX_URL} \
demobank info)
echo "DONE"
@@ -136,14 +137,14 @@ export LIBEUFIN_SANDBOX_USERNAME="admin"
export LIBEUFIN_SANDBOX_PASSWORD=$SANDBOX_ADMIN_PASSWORD
echo -n "Create EBICS host at Sandbox..."
libeufin-cli sandbox \
- --sandbox-url http://localhost:5000 \
+ --sandbox-url ${SANDBOX_URL} \
ebicshost create --host-id ${EBICS_HOST_ID}
echo "OK"
echo -n "Create exchange EBICS subscriber at Sandbox..."
libeufin-cli sandbox \
- --sandbox-url http://localhost:5000 \
+ --sandbox-url ${SANDBOX_URL} \
demobank new-ebicssubscriber --host-id ${EBICS_HOST_ID} \
--user-id ${EBICS_USER_ID} --partner-id ${EBICS_PARTNER_ID} \
--bank-account exchange-at-sandbox
@@ -155,7 +156,7 @@ export LIBEUFIN_NEXUS_PASSWORD=$NEXUS_EXCHANGE_PASSWORD
export LIBEUFIN_NEXUS_URL="http://localhost:5001"
echo -n "Creating the EBICS connection at Nexus..."
libeufin-cli connections new-ebics-connection \
- --ebics-url "http://localhost:5000/ebicsweb" \
+ --ebics-url "${SANDBOX_URL}ebicsweb" \
--host-id ${EBICS_HOST_ID} \
--partner-id ${EBICS_PARTNER_ID} \
--ebics-user-id ${EBICS_USER_ID} \
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-deployment] branch master updated: fix URLs,
gnunet <=