[Zope] Migrating a legacy Zope2 app to use buildout.

Lennart Regebro regebro at gmail.com
Sat Jun 18 17:31:24 EDT 2011

On Fri, Jun 17, 2011 at 23:57, Jason J. W. Williams
<jasonjwwilliams at gmail.com> wrote:
> Hello,
> Currently, we have a Portal that was built starting in 2004 before
> buildout was available, so our development method has been to export
> and import from the Zope2 WebUI for deployment. That's been a real
> pain and since we've automated the rest of our infrastructure with
> Chef we'd like to be able to do that with Zope. So my question is does
> anyone have pointers for migrating an app that mostly lives in the
> ZODB to a build-out style architecture that we could control with
> Chef? I see tutorials on starting a new Zope 2 app from scratch with
> buildout but nothing on migrating an older one to build out. For
> example, how would we create objects like MySQLUserFolders etc from
> buildout? Thank you in advance.

Buildout is about setting up an application environment and getting
all the parts and dependencies installed so it's orthogonal to setting
up the objects you need in the ZODB.

Importing is one way of setting up the objects in the ZODB. Another
one is writing python scripts that does it for you. A third one is
using genericsetup. http://pypi.python.org/pypi/Products.GenericSetup

Lennart Regebro, Colliberty: http://www.colliberty.com/
Telephone: +48 691 268 328

More information about the Zope mailing list