Skip to content

Commit 58068c6

Browse files
authored
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.
1 parent cfdd202 commit 58068c6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,10 @@
5858
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
5959
],
6060
"post-create-project-cmd": [
61-
"@php artisan key:generate --ansi"
61+
"@php artisan key:generate --ansi",
62+
"@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
63+
"@php artisan migrate --graceful --ansi",
64+
"@php artisan vendor:publish --tag=cachet"
6265
],
6366
"dev": [
6467
"Composer\\Config::disableProcessTimeout",

0 commit comments

Comments
 (0)