Update update-web-panel.sh

This commit is contained in:
Bozhidar Slaveykov 2024-04-07 16:08:52 +03:00
parent e20543264f
commit 69ba8bc833

View file

@ -38,15 +38,15 @@ cd /usr/local/phyre/web
# #
# #
# #
PHYRE_PHP=/usr/local/phyre/php/bin/php #PHYRE_PHP=/usr/local/phyre/php/bin/php
# ##
$PHYRE_PHP -v #$PHYRE_PHP -v
$PHYRE_PHP -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" #$PHYRE_PHP -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
$PHYRE_PHP ./composer-setup.php #$PHYRE_PHP ./composer-setup.php
$PHYRE_PHP -r "unlink('composer-setup.php');" #$PHYRE_PHP -r "unlink('composer-setup.php');"
#
rm -rf composer.lock #rm -rf composer.lock
COMPOSER_ALLOW_SUPERUSER=1 $PHYRE_PHP composer.phar i --no-interaction --no-progress #COMPOSER_ALLOW_SUPERUSER=1 $PHYRE_PHP composer.phar i --no-interaction --no-progress
#COMPOSER_ALLOW_SUPERUSER=1 $PHYRE_PHP composer.phar dump-autoload --no-interaction #COMPOSER_ALLOW_SUPERUSER=1 $PHYRE_PHP composer.phar dump-autoload --no-interaction
./db-migrate.sh ./db-migrate.sh