create env after install
the creation of base .env file that stores global variables for the app need to be automated, so it's created after composer install automatically instead of issueing and additional command
This commit is contained in:
parent
3e937c5083
commit
bfce3c82ec
1 changed files with 5 additions and 1 deletions
|
@ -71,7 +71,11 @@
|
|||
],
|
||||
"post-create-project-cmd": [
|
||||
"@php artisan key:generate --ansi"
|
||||
]
|
||||
],
|
||||
"post-install-cmd": [
|
||||
"php -r \"copy('.env.example', '.env');\"",
|
||||
"php artisan key:generate"
|
||||
]
|
||||
},
|
||||
"extra": {
|
||||
"laravel": {
|
||||
|
|
Loading…
Add table
Reference in a new issue