Skip to content

Instantly share code, notes, and snippets.

@ilshad
Created April 14, 2010 18:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ilshad/366185 to your computer and use it in GitHub Desktop.
Save ilshad/366185 to your computer and use it in GitHub Desktop.
# Create ZEO server:
# $ mkdir MyZEOServer
# $ cd MyZEOServer
# $ wget http://python-distribute.org/bootstrap.py
# Add this file as buildout.cfg and edit it. Note values in [server] section,
# zeo.conf template: address for ZEO-server, address for monitor
# (or comment it to disable). Edit filstorage name, path, log, path.
# Create these paths. Build:
# $ python bootstrap.py
# $ bin/buildout
# Run ZEO server:
# $ bin/server start
[buildout]
extends = http://download.zope.org/bluebream/bluebream-1.0b4.cfg
parts = zodb server
versions = versions
[zodb]
recipe = zc.recipe.egg:script
eggs = ZODB3
[server]
recipe = zc.zodbrecipes:server
zeo.conf =
<zeo>
address 8100
monitor-address 8101
transaction-timeout 300
# read-only false
# invalidation-queue-size 100
# pid-filename /var/ZEO.pid
</zeo>
<filestorage foo>
path /var/zeo/databases/foo/Data.fs
</filestorage>
<eventlog>
<logfile>
path /var/zeo/log/zeo.log
</logfile>
</eventlog>
pack = 1 1 * * 0 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment