Commit fb1f451f by shameelaz

add key generate

parent 53f0ef55
...@@ -26,6 +26,11 @@ if [ ! -d "vendor" ]; then ...@@ -26,6 +26,11 @@ if [ ! -d "vendor" ]; then
} }
fi fi
# Generate app key if not set
if [ -d "vendor" ]; then
php artisan key:generate --force --no-interaction 2>/dev/null || true
fi
# Ensure symlinks exist (only if vendor is present) # Ensure symlinks exist (only if vendor is present)
if [ -d "vendor" ]; then if [ -d "vendor" ]; then
php artisan storage:link 2>/dev/null || true php artisan storage:link 2>/dev/null || true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment