This commit is contained in:
		@@ -44,18 +44,17 @@ case "$VARIANT" in
 | 
			
		||||
  "bolt")
 | 
			
		||||
    echo "  -> Setting up BoltCMS directories..."
 | 
			
		||||
    # 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
 | 
			
		||||
    chmod -R a+rwx /bolt/var
 | 
			
		||||
    chmod -R a+rwx /bolt/var/data
 | 
			
		||||
    chmod -R a+rwx /bolt/var/cache
 | 
			
		||||
    chmod -R a+rwx /bolt/var/cache/prod
 | 
			
		||||
    chmod -R a+rwx /bolt/var/log
 | 
			
		||||
    echo "  -> Configuring database..."
 | 
			
		||||
    # TODO: Apply schema and migrations
 | 
			
		||||
    chmod -R a+rwx /application/var
 | 
			
		||||
    chmod -R a+rwx /application/var/data
 | 
			
		||||
    chmod -R a+rwx /application/var/cache
 | 
			
		||||
    chmod -R a+rwx /application/var/cache/prod
 | 
			
		||||
    chmod -R a+rwx /application/var/log
 | 
			
		||||
    ;;
 | 
			
		||||
esac
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
echo "  -> Testing environment..."
 | 
			
		||||
if ! bin/console about -q; then
 | 
			
		||||
    echo "  ** Failed **"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user