From 58068c6f3cb79adf4590ace9bf33fcf2967d01d5 Mon Sep 17 00:00:00 2001 From: Tony Lea Date: Fri, 7 Mar 2025 12:14:33 -0500 Subject: [PATCH] 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. --- composer.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 7da55121..87d2eaf6 100644 --- a/composer.json +++ b/composer.json @@ -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",