commit 964a356059b9fa0a2edfd4809ba0df96590a29f3
parent 1c65be8e4b1668bf2190a27e0b245c61103535f1
Author: Florian Dold <florian@dold.me>
Date: Mon, 4 Dec 2023 23:38:56 +0100
sandcastle: remove clashing currency config
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/scripts/demo/setup-sandcastle.sh b/scripts/demo/setup-sandcastle.sh
@@ -191,6 +191,9 @@ REGISTRATION_BONUS_ENABLED = yes
SPA_CAPTCHA_URL = https://$BANK_DOMAIN/webui/#/operation/{woid}
SUGGESTED_WITHDRAWAL_EXCHANGE = https://$EXCHANGE_DOMAIN/
+SERVE = tcp
+PORT = 8080
+
[currency-$CURRENCY]
ENABLED = YES
name = "$CURRENCY (Taler Demonstrator)"
@@ -404,6 +407,10 @@ chown taler-merchant-httpd:root /etc/taler/secrets/merchant-db.secret.conf
sudo -u taler-merchant-httpd taler-merchant-dbinit -c /etc/taler/taler.conf
+# The config shipped with the package can conflict with the
+# trusted sandcastle exchange if the currency is KUDOS.
+rm /usr/share/taler/config.d/kudos.conf
+
cat <<EOF >/etc/taler/conf.d/merchant-exchanges.conf
[merchant-exchange-sandcastle]
EXCHANGE_BASE_URL = https://$EXCHANGE_DOMAIN/