add two more
This commit is contained in:
parent
30823f24d3
commit
ca4b3fd4be
|
|
@ -7,8 +7,11 @@ echo "[+] Starting Initialization Process..."
|
|||
|
||||
# ۱. نصب وابستگیهای PHP با نادیده گرفتن پکیجهای Dev
|
||||
echo "[+] Installing PHP dependencies via Composer..."
|
||||
composer install || true
|
||||
|
||||
composer install --no-interaction --prefer-dist --optimize-autoloader --no-dev
|
||||
if [ ! -d vendor ]; then
|
||||
echo "[!] vendor not found, stopping"
|
||||
exit 1
|
||||
fi
|
||||
# ۲. پیکربندی محیط (Environment) لاراول
|
||||
if [ ! -f .env ]; then
|
||||
echo "[+] .env file not found. Creating from .env.example..."
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user