summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine A <>2024-02-22 17:09:34 +0100
committerAntoine A <>2024-02-22 17:36:48 +0100
commitb38baf05accd63f5847c1d03a418b6d7e3dcf4fa (patch)
treedff36e153042c0508f8b48bbabd58974c1a838bf
parent1f5234ea0a81be73b2295f61c5a852402fea79f7 (diff)
downloaddeployment-deb/antoine/regio.tar.gz
deployment-deb/antoine/regio.tar.bz2
deployment-deb/antoine/regio.zip
Better questions using a python scriptdeb/antoine/regio
-rwxr-xr-xregional-currency/main.sh14
1 files changed, 2 insertions, 12 deletions
diff --git a/regional-currency/main.sh b/regional-currency/main.sh
index 75d53a0..f7bc9e3 100755
--- a/regional-currency/main.sh
+++ b/regional-currency/main.sh
@@ -45,6 +45,7 @@ say "Installing packages (step 1 of 6)"
say ""
say "Interactive configuration (step 2 of 6)"
./ask_questions.py
+source config/user.conf
# Remove when libeufin currencies.conf is in sync with exchange
cat >>/usr/share/libeufin/config.d/netzbon.conf <<EOF
@@ -63,22 +64,10 @@ if test -z "${BANK_EXCHANGE_PASSWORD:-}"; then
echo "BANK_EXCHANGE_PASSWORD=\"${BANK_EXCHANGE_PASSWORD}\"" >>config/internal.conf
fi
-if test -z "${BANK_ADMIN_PASSWORD:-}"; then
- BANK_ADMIN_PASSWORD=$(uuidgen)
- echo "BANK_ADMIN_PASSWORD=\"${BANK_ADMIN_PASSWORD}\"" >>config/user.conf
-fi
-
if test -z "${BANK_PORT:-}"; then
echo "BANK_PORT=8080" >>config/user.conf
fi
-if test "${ENABLE_TLS:-}" == "y"; then
- PROTO="https"
-else
- PROTO="http"
-fi
-echo "PROTO=${PROTO}" >>config/internal.conf
-
say ""
say "Configuring nginx (step 3 of 6)"
./config_nginx.sh
@@ -99,6 +88,7 @@ say "Setting up merchant (step 6 of 6)"
say ""
say "Congratulations, you have successfully installed GNU Taler"
say "Your bank is at ${PROTO}://bank.${DOMAIN_NAME}/"
+say "You can connect to the bank web UI as 'admin' using '${BANK_ADMIN_PASSWORD}'"
say "A merchant is at ${PROTO}://backend.${DOMAIN_NAME}/"
say "You should set credentials for the merchant soon."