-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/improve/php7' into fix197
- Loading branch information
Showing
9 changed files
with
49 additions
and
57 deletions.
There are no files selected for viewing
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
web: $(composer config bin-dir)/heroku-php-apache2 html/ |
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,23 @@ | ||
{ | ||
"name": "EC-CUBE2", | ||
"description": "EC-CUBE2 on Heroku", | ||
"website": "https://github.com/EC-CUBE/eccube-2_13", | ||
"repository": "https://github.com/EC-CUBE/eccube-2_13", | ||
"keywords": ["php", "ec", "e-commerce", "ec-cube"], | ||
"scripts": { | ||
"postdeploy": "php ./setup_heroku.php" | ||
}, | ||
"addons": [ | ||
{ | ||
"plan": "heroku-postgresql", | ||
"options": { | ||
"version": "9.6" | ||
} | ||
} | ||
], | ||
"buildpacks": [ | ||
{ | ||
"url": "heroku/php" | ||
} | ||
] | ||
} |
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
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
putenv("DB=pgsql"); | ||
putenv("DBSERVER=".getenv('DB_HOST')); | ||
putenv("DBNAME=".getenv('DB_DATABASE')); | ||
putenv("USER=".getenv('DB_USERNAME')); | ||
putenv("DBPASS=".getenv('DB_PASSWORD')); | ||
putenv("HTTP_URL=http://".getenv('HEROKU_APP_NAME').".herokuapp.com"); | ||
putenv("HTTPS_URL=http://".getenv('HEROKU_APP_NAME').".herokuapp.com"); | ||
|
||
exec("sh ./eccube_install.sh postgres"); |