As a starting point I needed a "known good Plone 2.5.5 buildout" I borrowed most of ideas from this Venezuelan repository: http://plataforma.cenditel.gob.ve/browser/proyectosInstitucionales/eGov/ppm/buildout/plone/2.5/buildout.cfg?rev=137. After reading around I mixed and matched and came up with this template: https://gist.github.com/pigeonflight/5268138 (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
python bootstrap.py
|
Edit 'buildout.cfg' so that parts and eggs only reference python 2.4
Then run buildout
extends =src/base.cfgsrc/readline.cfgsrc/libjpeg.cfgsrc/python24.cfgsrc/links.cfg
parts =${buildout:base-parts}${buildout:readline-parts}${buildout:libjpeg-parts}${buildout:python24-parts}${buildout:links-parts}
bin/buildout bin/install-links |
As the Plone user download the custom buildout.cfg run the following commands
Get the custom buildout.wget https://gist.github.com/pigeonflight/5268138/raw/27f2f61e4a51d6822816a9c451d6ae35583184bf/buildout.cfg
/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 bin/buildout |
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).
2 comments:
If ypu need more inspiration here is another Plone 2.5 working buildout:
https://svn.eionet.europa.eu/repositories/Zope/trunk/eea-buildout/
Alin,
Thanks for the note.
Post a Comment