heroku-buildpack-plone icon indicating copy to clipboard operation
heroku-buildpack-plone copied to clipboard

update for Plone 5.1?

Open tkimnguyen opened this issue 6 years ago • 1 comments

I see this is a dependency of [email protected]:collective/training-sandbox.git but don't really know my way around here...

5.1.0 is out and 5.1.1 is in pending

tkimnguyen avatar Mar 24 '18 22:03 tkimnguyen

Hey @tkimnguyen! I just upgraded our intranet to 5.1.2. It turned out to be much easier to use https://github.com/niteoweb/heroku-buildpack-buildout instead, since that gets more love due to us using it for Pyramid projects daily. Most of the things stay the same, but you need to add the following lines to the [instance] section and use https://github.com/zupo/plone.recipe.zope2instance/tree/4.x:

instance-home = /app/parts/instance
client-home = /app/var
lock-file = /app/var/instance.lock
pid-file = /app/var/instance.pid
rel-storage =
    dsn $(DATABASE_URL)
http-address = 0.0.0.0:$(PORT)

Which is amazing progress since 3 years ago when Plone needed a dedicated buildpack. After https://github.com/plone/plone.recipe.zope2instance/pull/39/files is merged and released, Plone can be used on Heroku with easy, using the zc.buildout buildpack linked above.

I'll write up a blog post about this when I find time.

zupo avatar Apr 09 '18 11:04 zupo