Bolt fixes
All checks were successful
dockerbuild / Build docker image (push) Successful in 1m34s

This commit is contained in:
Chris 2024-02-08 12:40:11 +01:00
parent d34e0b928e
commit fadcb3556b

View File

@ -44,18 +44,17 @@ case "$VARIANT" in
"bolt") "bolt")
echo " -> Setting up BoltCMS directories..." echo " -> Setting up BoltCMS directories..."
# we get a warning about this # we get a warning about this
chmod a+rwx /bolt/config chmod a+rwx /application/config
# we don't want to get errors from these # we don't want to get errors from these
chmod -R a+rwx /bolt/var chmod -R a+rwx /application/var
chmod -R a+rwx /bolt/var/data chmod -R a+rwx /application/var/data
chmod -R a+rwx /bolt/var/cache chmod -R a+rwx /application/var/cache
chmod -R a+rwx /bolt/var/cache/prod chmod -R a+rwx /application/var/cache/prod
chmod -R a+rwx /bolt/var/log chmod -R a+rwx /application/var/log
echo " -> Configuring database..."
# TODO: Apply schema and migrations
;; ;;
esac esac
echo " -> Testing environment..." echo " -> Testing environment..."
if ! bin/console about -q; then if ! bin/console about -q; then
echo " ** Failed **" echo " ** Failed **"