summaryrefslogtreecommitdiff
path: root/sandcastle-ng/scripts/demo/setup-sandcastle.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sandcastle-ng/scripts/demo/setup-sandcastle.sh')
-rwxr-xr-xsandcastle-ng/scripts/demo/setup-sandcastle.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/sandcastle-ng/scripts/demo/setup-sandcastle.sh b/sandcastle-ng/scripts/demo/setup-sandcastle.sh
index 502ac05..ceb133e 100755
--- 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/