Updating post-create-project-cmd in composer.json

This commit will add the correct steps to the post-create-project-cmd to make this project work with the new Laravel installer.
This commit is contained in:
Tony Lea
2025-03-07 12:14:33 -05:00
committed by GitHub
parent cfdd202489
commit 58068c6f3c

View File

@@ -58,7 +58,10 @@
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"@php artisan key:generate --ansi"
"@php artisan key:generate --ansi",
"@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
"@php artisan migrate --graceful --ansi",
"@php artisan vendor:publish --tag=cachet"
],
"dev": [
"Composer\\Config::disableProcessTimeout",