commit 9a5bae46795903a6af22d2af614954a70f78a9be
parent 12c93fdd074b826e2968592e53ecadca93498e44
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/sandcastle-ng/scripts/demo/setup-sandcastle.sh b/sandcastle-ng/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/