Thursday, March 28, 2013

A working Plone 2.5.5 buildout

On a recent project I needed to get Plone 2.5.5 up and running. This is a note to self so I can get it done more quickly next time. It also reminds me how far we've come from the Plone 2.5.5 and early buildout days.

As a starting point I needed a "known good Plone 2.5.5 buildout" I borrowed most of ideas from this Venezuelan repository: After reading around I mixed and matched and came up with this template: (I consider it good enough for a developer to get started)

Use collective buildout.python for building a suitable  Python 2.4

I did the following as the root user (Takes about 40 minutes to compile on an Amazon EC2 micro instance)

cd /usr/local
cd python

Edit 'buildout.cfg' so that parts and eggs only reference python 2.4

extends =

parts =
Then run buildout


As the Plone user download the custom buildout.cfg run the following commands

Get the custom buildout.

/usr/local/python/bin/virtualenv-2.4 .bin/easy_install zc.buildout==1.4.4
         # this line below does a little dance (to take advantage of buildout init)
mv buildout.cfgzz && bin/buildout init && mv buildout.cfgzz buildout.cfg

The result should be a working Plone 2.5.5.

I plan to customize this for production (yes, they are still using Plone 2.5.5).


Unknown said...

If ypu need more inspiration here is another Plone 2.5 working buildout:

David B said...

Thanks for the note.

Sign up for my upcoming Plone 5 Book & Video tutorials

plone 5 for newbies book and videos