Skip to content

Commit

Permalink
Add Dokku Support (#105)
Browse files Browse the repository at this point in the history
* Add Procfile for dokku

Signed-off-by: Colin Schoen <[email protected]>

* Add dokku .buildpacks

Signed-off-by: Colin Schoen <[email protected]>

* Update database to pull from docker config vars

Signed-off-by: Colin Schoen <[email protected]>

* Add composer.lock

Signed-off-by: Colin Schoen <[email protected]>

* Remove sentry

Signed-off-by: Colin Schoen <[email protected]>

* Remove bad composer.json

Signed-off-by: Colin Schoen <[email protected]>

* Update composer.lock

Signed-off-by: Colin Schoen <[email protected]>

* Add back sentry

Signed-off-by: Colin Schoen <[email protected]>

* Update composer.lock

Signed-off-by: Colin Schoen <[email protected]>

* Use new version of sentry

Signed-off-by: Colin Schoen <[email protected]>

* Remove sentry config

Signed-off-by: Colin Schoen <[email protected]>

* Add back sentry

Signed-off-by: Colin Schoen <[email protected]>

* Use raw class object for sentry

Signed-off-by: Colin Schoen <[email protected]>

* Remove sentry

Signed-off-by: Colin Schoen <[email protected]>

* Update composer.json and composer.lock

Signed-off-by: Colin Schoen <[email protected]>

* Update compiled path.

Reference:
https://laracasts.com/discuss/channels/general-discussion/laravel-5-pagination-error-in-production/replies/48009

Signed-off-by: Colin Schoen <[email protected]>

* Add cache

Signed-off-by: Colin Schoen <[email protected]>

* Run migrations post deploy

Signed-off-by: Colin Schoen <[email protected]>

* Don't automatically run migrations post deploy

Signed-off-by: Colin Schoen <[email protected]>

* Remove trailing comma

Signed-off-by: Colin Schoen <[email protected]>

* Add Settings table seeder

Signed-off-by: Colin Schoen <[email protected]>
  • Loading branch information
colinschoen authored Sep 21, 2017
1 parent dbf0436 commit eb6adad
Show file tree
Hide file tree
Showing 11 changed files with 3,480 additions and 23 deletions.
1 change: 1 addition & 0 deletions .buildpacks
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://github.com/heroku/heroku-buildpack-php
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: vendor/bin/heroku-php-apache2 public/
4 changes: 0 additions & 4 deletions app/Exceptions/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ class Handler extends ExceptionHandler {
*/
public function report(Exception $e)
{
if ($this->shouldReport($e)) {
// bind the event ID for Feedback
app('sentry')->captureException($e);
}
parent::report($e);
}

Expand Down
2 changes: 1 addition & 1 deletion bootstrap/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
|
*/

$compiledPath = __DIR__.'/cache/compiled.php';
$compiledPath = __DIR__.'/../vendor/compiled.php';

if (file_exists($compiledPath))
{
Expand Down
Empty file added bootstrap/cache/empty
Empty file.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"laravel/framework": "5.1.*",
"guzzlehttp/guzzle": "^5.3",
"adoy/oauth2": "dev-master",
"sentry/sentry-laravel": "^0.3.0",
"php": "5.6.*"
},
"require-dev": {
Expand Down
Loading

0 comments on commit eb6adad

Please sign in to comment.