From 43d7bdefa8f69628f9a22e75150ee633f253ef21 Mon Sep 17 00:00:00 2001 From: Tan Nguyen Date: Sun, 8 Dec 2024 14:55:50 +0700 Subject: [PATCH] feat: update commands to install blog be --- setup/functions.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup/functions.sh b/setup/functions.sh index 6784aa4..5997707 100644 --- a/setup/functions.sh +++ b/setup/functions.sh @@ -87,7 +87,7 @@ build_admin() { echo '⚙ Building blog ADMIN/API (Laravel)...' if [ "$1" == "install" ]; then - COMPOSER_COMMAND="install" + COMPOSER_COMMAND="install --no-dev" else COMPOSER_COMMAND="update" fi @@ -111,6 +111,7 @@ build_admin() { php artisan config:cache php artisan route:cache php artisan optimize:clear + php artisan migrate --force echo '' }