Experimenting with heroku settings.

This commit is contained in:
James Cole
2017-11-27 18:39:11 +01:00
parent 2db0550eee
commit 0b2934235d
2 changed files with 3 additions and 3 deletions

View File

@@ -43,11 +43,11 @@
} }
], ],
"scripts": { "scripts": {
"postdeploy": "export APP_KEY=$(php artisan --no-ansi key:generate --show) && php artisan migrate:refresh --seed" "postdeploy": "php artisan migrate:refresh --seed"
}, },
"buildpacks": [ "buildpacks": [
{ {
"url": "https://github.com/lifekent/heroku-buildpack-laravel" "url": "heroku/php"
} }
], ],
"env": { "env": {

View File

@@ -30,7 +30,7 @@ return [
'timezone' => 'UTC', 'timezone' => 'UTC',
'locale' => 'en_US', 'locale' => 'en_US',
'fallback_locale' => 'en_US', 'fallback_locale' => 'en_US',
'key' => env('APP_KEY'), 'key' => env('APP_KEY','7ahyYVPVsmxjdhsweWCauGeJfwc92NP2'),
'cipher' => 'AES-256-CBC', 'cipher' => 'AES-256-CBC',
'log' => env('APP_LOG', 'errorlog'), 'log' => env('APP_LOG', 'errorlog'),
'log_level' => env('APP_LOG_LEVEL', 'info'), 'log_level' => env('APP_LOG_LEVEL', 'info'),