From 7a24ca1511cafd8f269a9c11d70c83eabf019f2f Mon Sep 17 00:00:00 2001 From: James Brooks Date: Wed, 19 Nov 2014 16:58:10 +0000 Subject: [PATCH] Update composer.json with Dokku specific stuff --- composer.json | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index e53e4010..54a9ac12 100644 --- a/composer.json +++ b/composer.json @@ -17,10 +17,21 @@ "app/tests/TestCase.php" ] }, + "extra": { + "heroku": { + "framework": "silex", + "document-root": "public", + "index-document": "index.php", + "log-files": [ + "app/storage/logs/laravel.log" + ] + } + }, "scripts": { "post-install-cmd": [ - "php artisan clear-compiled", - "php artisan optimize" + "php artisan optimize", + "chmod -R 777 app/storage public", + "php artisan migrate" ], "post-update-cmd": [ "php artisan clear-compiled", @@ -31,7 +42,10 @@ ] }, "config": { - "preferred-install": "dist" + "preferred-install": "dist", + "github-oauth": { + "github.com": "db2faf367fe4c3c1e659b3ba967ecd55c42f9119" + } }, "minimum-stability": "stable" }