O'Reilly logo

Professional Plone Development: Building robust, content-centric web applications with Plone 3, an open source Content Management System by Martin Aspeli

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Moving the Code and Database to a Live Server

We can now move the buildout environment to the live server or a staging environment and re-build it using this new configuration file by using:

./bin/buildout -c deployment.cfg

Note that without specifying the configuration file explicitly, buildout would use the default buildout.cfg file instead, building us another development environment.

To start the ZEO server and the two clients, we can do:

$ ./bin/zeoserver start
$ ./bin/primary start
$ ./bin/secondary start

After a short delay, Zope should come up on ports 8080 and 8081. If something goes wrong during startup, you can use fg in place of start to run Zope in the foreground and inspect error messages. You can also check the log files in var/log/primary.log ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required