From dadfe81a15d634bf3eb50f1becc11c774fbe9b15 Mon Sep 17 00:00:00 2001 From: SamuelMoraesF Date: Mon, 29 Dec 2014 18:30:56 -0200 Subject: [PATCH 1/3] Updating app.json file --- app.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app.json b/app.json index 561789ab..7efd6e47 100644 --- a/app.json +++ b/app.json @@ -12,11 +12,11 @@ "success_url": "/setup", "repository": "https://github.com/cachethq/Cachet", "addons": [ - "cleardb" + "heroku-postgresql" ], "env": { - "ENV": "heroku", - "BUILDPACK_URL": "https://github.com/heroku/heroku-buildpack-php" + "ENV": { "value": "heroku", "description": "Do not modify this value to work on Heroku" }, + "BUILDPACK_URL": { "value": "https://github.com/heroku/heroku-buildpack-php", "description": "Do not modify this value to work on Heroku" } }, "scripts": { "postdeploy": "php artisan migrate --env=heroku; php artisan key:generate" From f2977c09aefc5f328763273277571298b12594c6 Mon Sep 17 00:00:00 2001 From: SamuelMoraesF Date: Mon, 29 Dec 2014 18:39:09 -0200 Subject: [PATCH 2/3] Nginx to Apache2 --- Procfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Procfile b/Procfile index 0b03eba0..0e26515a 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: vendor/bin/heroku-php-nginx public +web: vendor/bin/heroku-php-apache2 public From c8a42c628b5285f7843367bc1110b2e95dd102b8 Mon Sep 17 00:00:00 2001 From: SamuelMoraesF Date: Mon, 29 Dec 2014 18:50:01 -0200 Subject: [PATCH 3/3] Removing unnecessary heroku folder --- app/config/heroku/database.php | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 app/config/heroku/database.php diff --git a/app/config/heroku/database.php b/app/config/heroku/database.php deleted file mode 100644 index 5d2a26e7..00000000 --- a/app/config/heroku/database.php +++ /dev/null @@ -1,20 +0,0 @@ - 'cleardb', - 'connections' => [ - 'cleardb' => [ - 'driver' => 'mysql', - 'host' => $dbURL['host'], - 'database' => $dbName, - 'username' => $dbURL['user'], - 'password' => $dbURL['pass'], - 'charset' => 'utf8', - 'collation' => 'utf8_unicode_ci', - 'prefix' => '', - ], - ], -];