Adding postupdate step recommended by documentation

see (https://docs.pixelfed.org/master/deployment.html)
This commit is contained in:
2019-06-05 10:14:17 +02:00
parent ddbc4657f7
commit 6cb5dc595b

View File

@@ -201,6 +201,18 @@ step_22() {
exe php artisan user:create
}
step_24_info() { echo "Recommended post update procedure"; }
step_24_alias() { ALIAS="postupdate"; }
step_24() {
cd $toolPath
exe composer install --no-ansi --no-interaction --no-progress --no-scripts --optimize-autoloader
exe php artisan config:cache
exe php artisan route:cache
exe php artisan migrate --force
exe php artisan horizon:purge
exe php artisan storage:link
}
# Sequence Revision
VERSION_SEQREV=3