This commit is contained in:
Saufi
2026-05-26 11:04:57 +08:00
parent 70f03fa314
commit c4d825e649
2 changed files with 3 additions and 2 deletions

View File

@@ -2,10 +2,11 @@
set -e
if [ -z "${APP_KEY}" ]; then
php artisan key:generate --force --no-interaction
export APP_KEY="base64:$(php -r 'echo base64_encode(random_bytes(32));')"
fi
mkdir -p storage/framework/cache storage/framework/sessions storage/framework/views storage/logs bootstrap/cache
chmod -R ug+rwX storage bootstrap/cache
php artisan config:clear --no-interaction
php artisan view:cache --no-interaction