diff options
Diffstat (limited to 'sandcastle/images/libeufin/startup.sh')
-rw-r--r-- | sandcastle/images/libeufin/startup.sh | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sandcastle/images/libeufin/startup.sh b/sandcastle/images/libeufin/startup.sh index 26c3b4b..9480781 100644 --- a/sandcastle/images/libeufin/startup.sh +++ b/sandcastle/images/libeufin/startup.sh @@ -11,12 +11,12 @@ export LIBEUFIN_NEXUS_DB_CONNECTION="jdbc:sqlite:${MAYBE_VOLUME_MOUNTPOINT}/nexu # once. It helps against some non idempotent commands. INIT_MARKER=${MAYBE_VOLUME_MOUNTPOINT}/init-done export LD_LIBRARY_PATH=/usr/local/lib # helps taler-config -CURRENCY=`taler-config -c /config/deployment.conf -s taler-deployment -o currency` +CURRENCY=$(taler-config -c /config/deployment.conf -s taler-deployment -o currency) SANDBOX_PORT=15000 NEXUS_PORT=15001 SANDBOX_BASE_URL="http://localhost:${SANDBOX_PORT}" -EXCHANGE_URL=`taler-config -c /config/deployment.conf -s taler-deployment -o default-exchange` -CAPTCHA_URL=`taler-config -c /config/deployment.conf -s taler-deployment -o bank-url` +EXCHANGE_URL=$(taler-config -c /config/deployment.conf -s taler-deployment -o default-exchange) +CAPTCHA_URL=$(taler-config -c /config/deployment.conf -s taler-deployment -o bank-url) # As wanted by the Libeufin CLI: export LIBEUFIN_SANDBOX_URL=${SANDBOX_BASE_URL} export LIBEUFIN_NEXUS_URL="http://localhost:${NEXUS_PORT}" @@ -52,6 +52,10 @@ is_serving() { } EXCHANGE_IBAN=DE159593 +BANK_SIGNUP_BONUS=$(taler-config -c /config/deployment.conf -s taler-deployment -o bank-signup-bonus) +BANK_ALLOW_REGISTRATIONS=$(taler-config -c /config/deployment.conf -s taler-deployment -o bank-allow-registrations) + + mkdir -p ${MAYBE_VOLUME_MOUNTPOINT} export LIBEUFIN_SANDBOX_ADMIN_PASSWORD=secret echo -n "Creating ${CURRENCY} default demobank..." |