summaryrefslogtreecommitdiff
path: root/sandcastle-ng/scripts/setup-sandcastle.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sandcastle-ng/scripts/setup-sandcastle.sh')
-rwxr-xr-xsandcastle-ng/scripts/setup-sandcastle.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/sandcastle-ng/scripts/setup-sandcastle.sh b/sandcastle-ng/scripts/setup-sandcastle.sh
index c351bb8..965d258 100755
--- a/sandcastle-ng/scripts/setup-sandcastle.sh
+++ b/sandcastle-ng/scripts/setup-sandcastle.sh
@@ -352,6 +352,17 @@ SERVE = http
HTTP_PORT = $PORT_INTERNAL_SURVEY
EOF
+# This really should not exist, the taler-merchant-frontends
+# should be easier to configure!
+cat <<EOF >/etc/taler/taler-merchant-frontends.env
+TALER_ENV_URL_INTRO=https://$LANDING_DOMAIN/
+TALER_ENV_URL_LANDING=https://$LANDING_DOMAIN/
+TALER_ENV_URL_BANK=https://$BANK_DOMAIN/
+TALER_ENV_URL_MERCHANT_BLOG=https://$BLOG_DOMAIN/
+TALER_ENV_URL_MERCHANT_DONATIONS=https://$DONATIONS_DOMAIN/
+TALER_ENV_URL_MERCHANT_SURVEY=https://$SURVEY_DOMAIN/
+EOF
+
systemctl enable --now taler-demo-landing
systemctl enable --now taler-demo-blog
systemctl enable --now taler-demo-donations