Skip to content

Commit

Permalink
Merge pull request #203 from nobuhiko/heroku
Browse files Browse the repository at this point in the history
Heroku Review Apps を使うために Herokuで動作するように修正
  • Loading branch information
Yangsin Kim committed Jul 28, 2018
2 parents 3bda4df + 05f23a7 commit b339e6f
Show file tree
Hide file tree
Showing 9 changed files with 320 additions and 237 deletions.
25 changes: 0 additions & 25 deletions Gruntfile.js

This file was deleted.

1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: $(composer config bin-dir)/heroku-php-apache2 html/
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
[![Build Status](https://travis-ci.org/EC-CUBE/eccube-2_13.svg)](https://travis-ci.org/EC-CUBE/eccube-2_13)
[![Build status](https://ci.appveyor.com/api/projects/status/4k58ucq2smwc4h7n/branch/master?svg=true)](https://ci.appveyor.com/project/ECCUBE/eccube-2-13/branch/master)
[![Coverage Status](https://coveralls.io/repos/EC-CUBE/eccube-2_13/badge.png)](https://coveralls.io/r/EC-CUBE/eccube-2_13)
[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)

---

Expand Down
23 changes: 23 additions & 0 deletions app.json
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"
}
]
}
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"issues": "https://github.com/EC-CUBE/eccube-2_13/issues"
},
"config": {
"disable-tls": true,
"disable-tls": false,
"secure-http": false,
"vendor-dir": "data/vendor",
"platform": {
Expand All @@ -29,6 +29,9 @@
"codeception/codeception": "*"
},
"require": {
"php": ">=5.3.9",
"ext-mbstring": "*",
"ext-gd": "*",
"smarty/smarty": "*",
"pear-pear.php.net/PEAR" : "*",
"pear-pear.php.net/Archive_Tar" : "*",
Expand Down
Loading

0 comments on commit b339e6f

Please sign in to comment.