Update code for heroku [skip ci]

This commit is contained in:
James Cole 2017-11-26 17:48:53 +01:00
parent 3ab7dd3fb7
commit c366f741c1
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -2,6 +2,7 @@
"name": "Firefly III", "name": "Firefly III",
"description": "A free and open source personal finances manager", "description": "A free and open source personal finances manager",
"repository": "https://github.com/firefly-iii/firefly-iii", "repository": "https://github.com/firefly-iii/firefly-iii",
"website": "https://firefly-iii.github.io/",
"logo": "https://raw.githubusercontent.com/firefly-iii/firefly-iii/master/public/mstile-150x150.png", "logo": "https://raw.githubusercontent.com/firefly-iii/firefly-iii/master/public/mstile-150x150.png",
"keywords": [ "keywords": [
"finance", "finance",
@ -36,18 +37,18 @@
"transfers", "transfers",
"management" "management"
], ],
"website": "https://firefly-iii.github.io/",
"addons": [ "addons": [
{ {
"plan": "heroku-postgresql" "plan": "heroku-postgresql",
"as": "firefly-iii-database"
} }
], ],
"scripts": { "scripts": {
"postdeploy": "export APP_KEY=$(php artisan --no-ansi key:generate --show)" "postdeploy": "export APP_KEY=$(php artisan --no-ansi key:generate --show) && php artisan migrate:refresh --seed"
}, },
"buildpacks": [ "buildpacks": [
{ {
"url": "heroku/php" "url": "https://github.com/lifekent/heroku-buildpack-laravel"
} }
], ],
"env": { "env": {