mirror of
https://github.com/idanoo/pixelfed-upgrade-script
synced 2025-07-01 05:42:16 +00:00
No-dev and dump autoload
This commit is contained in:
parent
5fa2a4ec05
commit
b3fa408964
1 changed files with 2 additions and 1 deletions
|
@ -8,7 +8,8 @@ WEB_USER=www-data
|
|||
set +x
|
||||
|
||||
su - $WEB_USER -s /bin/bash -c "cd $WEB_ROOT && git pull"
|
||||
su - $WEB_USER -s /bin/bash -c "cd $WEB_ROOT && composer install --no-ansi --no-interaction --no-progress --no-scripts --optimize-autoloader"
|
||||
su - $WEB_USER -s /bin/bash -c "cd $WEB_ROOT && composer install --no-ansi --no-dev --no-interaction --no-progress --no-scripts --optimize-autoloader"
|
||||
su - $WEB_USER -s /bin/bash -c "cd $WEB_ROOT && composer dump-autoload --optimize"
|
||||
su - $WEB_USER -s /bin/bash -c "cd $WEB_ROOT && php artisan config:cache"
|
||||
su - $WEB_USER -s /bin/bash -c "cd $WEB_ROOT && php artisan route:cache"
|
||||
su - $WEB_USER -s /bin/bash -c "cd $WEB_ROOT && php artisan migrate --force"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue