PhilippHeuer / wordpress-heroku

This project is a template for installing and running WordPress 5.x on Heroku.
MIT License
273 stars 316 forks source link

Changing Buildpack #18

Closed jpdjere closed 6 years ago

jpdjere commented 6 years ago

If I fork this repo so as to do the One-Click-Deployment but changing files, is there a way to change the buildpack? I see there is a .buildpack file where https://github.com/heroku/heroku-buildpack-phpis defined. But where is the Bedrock buildpack defined (with all the WP files)?

I would like to clone that buildpack and point this project to my (modified) fork. Is it possible?

Thanks

PhilippHeuer commented 6 years ago

There is no bedrock/wordpress buildpack used (not sure if one exists), when you deploy the application the php buildpack detects the composer.json and installs all specified dependencies (including wordpress 4.x)

This allows me to upgrade wordpress really simple just by changing the version number in the composer.json.

jpdjere commented 6 years ago

Thanks for your answer @PhilippHeuer !