From 6cb5dc595bf3ae3f04076325949606c22d7d5968 Mon Sep 17 00:00:00 2001 From: Martin Winkler Date: Wed, 5 Jun 2019 10:14:17 +0200 Subject: [PATCH] Adding postupdate step recommended by documentation see (https://docs.pixelfed.org/master/deployment.html) --- seqs/pixelfed.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/seqs/pixelfed.sh b/seqs/pixelfed.sh index cfbf39a..ac9090e 100755 --- a/seqs/pixelfed.sh +++ b/seqs/pixelfed.sh @@ -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