Closed EmanueleMinotto closed 8 years ago
Current problems are:
"ext-gd": "*"
to the composer.jsonCLEARDB_DATABASE_URL
that's an URI and to load them an app/config/heroku.php is the simplest wayapp.json
is using http://elcodi.io/img/icon/apple-icon-180x180.png, is there a canonical URL?Hi @EmanueleMinotto, for the 1/ you should update the composer.json, it's a good practice and we shouldn't assume anything about the PHP configuration :)
@mickaelandrieu I agree and updated the composer.json, but I'm not fully sure because this dependency could be optional if the final developer wants to use the imagemagick adapter
php-gd
shouldn't be required, but suggested. As points @EmanueleMinotto, if ImageMagick is the used adapter, then php-gd is not a requirement anymore.
maybe, but composer is unable to say "one of them is required: gd or imagemagick"
Some changes here @EmanueleMinotto :
@mickaelandrieu a requirement is a requirement. Means that, without GD, you cannot make it work.
In a servers without GD, or even the possibility of having it, then we're done with it, and is not a possibility.
@mickaelandrieu BTW, composer is a dependency resolver, not a needs checker ;)
@mmoreram I know, but if you remove gd as an requirement, the issue still persist with Heroku, but also with any environement that don't have the gd or imagemagick PHP extension. What do you suggest to address this issue ?
@mickaelandrieu I'm still investigating, anyway seems that the only option available is creating a custom buildpack
Things to check:
Added the right migrations, but this is still a work in progress because there are some problems like images and some pages show an exception.
Closing in favor of #620
Closes https://github.com/elcodi/bamboo/issues/607
To test this PR please try: https://dashboard.heroku.com/new?template=https%3A%2F%2Fgithub.com%2FEmanueleMinotto%2Fbamboo%2Ftree%2Fheroku-deploy