summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-10-17 10:42:55 +0200
committerFlorian Dold <florian@dold.me>2023-10-17 10:42:55 +0200
commit77f83ec75a1af25f3e21d9735329a98386a4f62c (patch)
tree00c34ac5a6f6f389a5dc4f17aea02e611c3db9f9
parenteffade45ac47138c8d8850372c195a2d40a11157 (diff)
downloaddeployment-77f83ec75a1af25f3e21d9735329a98386a4f62c.tar.gz
deployment-77f83ec75a1af25f3e21d9735329a98386a4f62c.tar.bz2
deployment-77f83ec75a1af25f3e21d9735329a98386a4f62c.zip
WIP
-rw-r--r--sandcastle-ng/README.md2
-rwxr-xr-xsandcastle-ng/scripts/setup-sandcastle.sh11
2 files changed, 13 insertions, 0 deletions
diff --git a/sandcastle-ng/README.md b/sandcastle-ng/README.md
index 2ca3fec..de4da87 100644
--- a/sandcastle-ng/README.md
+++ b/sandcastle-ng/README.md
@@ -99,6 +99,8 @@ You can always manually run the script inside the container as ``/scripts/setup-
# Future Extensions
+* Fix tipping!
+* Better way to access logs, better way to expose errors during provisioning
* The Dockerfile should introduce nightly tags for debian packages it builds.
Currently it just uses the latest defined version, which is confusing.
* Deploy the Taler woocommerce plugin, wordpress plugin
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