Skip to content

Commit dc22b73

Browse files
simonhampclaude
andcommitted
Add composer setup script for project bootstrapping
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent cc42a6a commit dc22b73

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

composer.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,14 @@
7373
],
7474
"post-create-project-cmd": [
7575
"@php artisan key:generate --ansi"
76+
],
77+
"setup": [
78+
"composer install",
79+
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
80+
"@php artisan key:generate",
81+
"@php artisan migrate --force",
82+
"npm install",
83+
"npm run build"
7684
]
7785
},
7886
"extra": {

0 commit comments

Comments
 (0)