Update composer file for Heroku.

This commit is contained in:
James Cole 2017-11-27 16:31:52 +01:00
parent 99d3ff5e47
commit 2db0550eee
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -97,6 +97,9 @@
} }
}, },
"scripts": { "scripts": {
"pre-install-cmd": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-root-package-install": [ "post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
], ],
@ -116,6 +119,9 @@
"post-install-cmd": [ "post-install-cmd": [
"php artisan optimize", "php artisan optimize",
"php artisan firefly:instructions install" "php artisan firefly:instructions install"
],
"compile": [
"@php artisan key:generate --force"
] ]
}, },
"config": { "config": {