This commit is contained in:
Bozhidar Slaveykov 2024-04-07 13:42:42 +03:00
parent 3193dc557f
commit b84f54c7e9
2 changed files with 4 additions and 2 deletions

View file

@ -5,4 +5,6 @@ unzip phyre-web-panel.zip -d /usr/local/phyre/update/web-panel-latest
mv -bfv /usr/local/phyre/update/web-panel-latest/* /usr/local/phyre/web/ mv -bfv /usr/local/phyre/update/web-panel-latest/* /usr/local/phyre/web/
rm -rf /usr/local/phyre/update/web-panel-latest rm -rf /usr/local/phyre/update/web-panel-latest
/usr/local/phyre/web/db-migrate.sh
service phyre restart service phyre restart

View file

@ -1,8 +1,8 @@
PHYRE_PHP=/usr/local/phyre/php/bin/php PHYRE_PHP=/usr/local/phyre/php/bin/php
rm -rf composer.lock rm -rf composer.lock
$PHYRE_PHP composer.phar i $PHYRE_PHP composer.phar i --no-interaction --no-progress
$PHYRE_PHP composer.phar dump-autoload $PHYRE_PHP composer.phar dump-autoload --no-interaction --no-progress
$PHYRE_PHP artisan migrate $PHYRE_PHP artisan migrate