diff --git a/.env.heroku.php b/.env.heroku.php new file mode 100644 index 00000000..6715b791 --- /dev/null +++ b/.env.heroku.php @@ -0,0 +1,17 @@ + $dbURL['host'], + 'DB_DATABASE' => $dbName, + 'DB_USERNAME' => $dbURL['user'], + 'DB_PASSWORD' => $dbURL['pass'], + 'DB_DRIVER' => 'mysql', + +); + + + diff --git a/.gitignore b/.gitignore index f939b8e7..46d452a5 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,6 @@ public/js/ npm-debug.log .vagrant/ tests/_output/* + +# Heroku +!.env.heroku.php 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