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
8e4dc55c90
commit
e3bd21495c
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