Skip to content

Commit

Permalink
add site creation entrypoint (for initContainers)
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens committed Jul 28, 2024
1 parent 94c84dc commit fd36a9a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/scripts/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fd36a9a

Please sign in to comment.