File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ function update_script() {
4545 cd /opt/dreeve
4646 export COMPOSER_ALLOW_SUPERUSER=1
4747 export APP_ENV=prod
48- $STD /opt/frankenphp/frankenphp php-cli /usr/local/bin/composer install --no-dev --optimize-autoloader --no-interaction
48+ $STD /opt/frankenphp/frankenphp php-cli /usr/local/bin/composer install --no-dev --optimize-autoloader --no-interaction --no-scripts
4949 msg_ok " Installed PHP Dependencies"
5050
5151 msg_info " Running Migrations"
@@ -54,6 +54,8 @@ function update_script() {
5454 source /opt/dreeve/.env.local
5555 set +a
5656 $STD /opt/frankenphp/frankenphp php-cli bin/console app:db:migrate --no-interaction
57+ $STD /opt/frankenphp/frankenphp php-cli bin/console assets:install public --no-interaction
58+ rm -rf /opt/dreeve/var/cache/prod
5759 $STD /opt/frankenphp/frankenphp php-cli bin/console cache:warmup --env=prod
5860 msg_ok " Ran Migrations"
5961
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ msg_info "Installing PHP Dependencies (Patience)"
4141cd /opt/dreeve
4242export COMPOSER_ALLOW_SUPERUSER=1
4343export APP_ENV=prod
44- $STD /opt/frankenphp/frankenphp php-cli /usr/local/bin/composer install --no-dev --optimize-autoloader --no-interaction
44+ $STD /opt/frankenphp/frankenphp php-cli /usr/local/bin/composer install --no-dev --optimize-autoloader --no-interaction --no-scripts
4545msg_ok " Installed PHP Dependencies"
4646
4747msg_info " Configuring Dreeve"
8787source /opt/dreeve/.env.local
8888set +a
8989$STD /opt/frankenphp/frankenphp php-cli bin/console app:db:migrate --no-interaction
90+ $STD /opt/frankenphp/frankenphp php-cli bin/console assets:install public --no-interaction
9091$STD /opt/frankenphp/frankenphp php-cli bin/console cache:warmup --env=prod
9192msg_ok " Initialized Database"
9293
You can’t perform that action at this time.
0 commit comments