From c366f741c157ddc4f031cd65e3f449616080501b Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 26 Nov 2017 17:48:53 +0100 Subject: [PATCH] Update code for heroku [skip ci] --- app.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app.json b/app.json index 35680aa38b..9522a77a2f 100644 --- a/app.json +++ b/app.json @@ -2,6 +2,7 @@ "name": "Firefly III", "description": "A free and open source personal finances manager", "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", "keywords": [ "finance", @@ -36,18 +37,18 @@ "transfers", "management" ], - "website": "https://firefly-iii.github.io/", "addons": [ { - "plan": "heroku-postgresql" + "plan": "heroku-postgresql", + "as": "firefly-iii-database" } ], "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": [ { - "url": "heroku/php" + "url": "https://github.com/lifekent/heroku-buildpack-laravel" } ], "env": {