From fd36a9a55092153c2383195ce0657233abfbe8e0 Mon Sep 17 00:00:00 2001 From: "Jens W. Klein" Date: Mon, 29 Jul 2024 01:22:02 +0200 Subject: [PATCH] add site creation entrypoint (for initContainers) --- backend/scripts/entrypoint.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/scripts/entrypoint.sh b/backend/scripts/entrypoint.sh index b03a1ac..7b79a00 100755 --- a/backend/scripts/entrypoint.sh +++ b/backend/scripts/entrypoint.sh @@ -12,6 +12,9 @@ make zope-instance if [[ "$1" == "start" ]]; then echo "🌐 running Plone" make zope-start +elif [[ "$1" == "create" ]]; then + echo "✨ creating new Plone site" + make plone-site-create elif [[ "$1" == "export" ]]; then echo "📤 exporting to filestorage" /venv/bin/zodbconvert --clear /site/instance/etc/relstorage-export.conf