Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: - Remove gemfile stuff - Add post-install-cmd to run phinx - Add Procfile One step closer to auto deploys Test Plan: - Get a heroku account and heroku cli - `heroku create` - `heroku addons:add cleardb` - `heroku config` this should show you the database url - Add heroku config vars: DB_HOST, DB_NAME, DB_PASS, DB_TYPE, DB_USER - `git push heroku HEAD:master` - Wait for stuff to build Reviewers: aMoniker Reviewed By: aMoniker Differential Revision: https://phabricator.ushahidi.com/D646
- Loading branch information
Showing
8 changed files
with
98 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
web: bin/heroku-php-apache2 -C apache_heroku.conf httpdocs/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Turn on URL rewriting | ||
RewriteEngine On | ||
|
||
RewriteCond %{REQUEST_URI}::$1 ^(/.+)/(.*)::\2$ | ||
RewriteRule ^(.*) - [E=BASE:%1] | ||
|
||
RewriteCond %{ENV:REDIRECT_STATUS} ^$ | ||
RewriteRule ^index\.php(/(.*)|$) %{ENV:BASE}/$2 [R=301,L] | ||
|
||
RewriteCond %{REQUEST_FILENAME} -f | ||
RewriteRule .? - [L] | ||
|
||
RewriteRule .? %{ENV:BASE}/index.php [L] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters