Fix: create bootstrap/cache and storage dirs before composer/artisan
This commit is contained in:
@@ -5,6 +5,13 @@ echo "========================================="
|
||||
echo " TerManager2 - Entrypoint"
|
||||
echo "========================================="
|
||||
|
||||
# -----------------------------------------------
|
||||
# 0. Create required directories
|
||||
# -----------------------------------------------
|
||||
mkdir -p storage/framework/{cache,sessions,views}
|
||||
mkdir -p storage/logs
|
||||
mkdir -p bootstrap/cache
|
||||
|
||||
# -----------------------------------------------
|
||||
# 1. Composer install
|
||||
# -----------------------------------------------
|
||||
@@ -96,13 +103,6 @@ else
|
||||
echo "[✓] Storage symlink already exists."
|
||||
fi
|
||||
|
||||
# -----------------------------------------------
|
||||
# 6. Create required storage directories
|
||||
# -----------------------------------------------
|
||||
mkdir -p storage/framework/{cache,sessions,views}
|
||||
mkdir -p storage/logs
|
||||
mkdir -p bootstrap/cache
|
||||
|
||||
# -----------------------------------------------
|
||||
# 7. Run migrations
|
||||
# -----------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user