Skip to content
This repository has been archived by the owner on Apr 25, 2022. It is now read-only.

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
aclark4life committed May 16, 2011
1 parent f583e5c commit 1548add
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions docs/12.rst
Expand Up @@ -14,5 +14,59 @@ In ../12.cfg we have::

Now run bin/buildout and restart Plone.

Configuration
-------------

Let's look at the entire configuration::

[buildout]
extends = http://dist.aclark.net/build/plone/4.1.x/buildout.cfg
parts += backup backups packups supervisor zeo

[plone]
# To tell Plone to use zeo (overrides plone section in buildout.cfg)
zeo-client = true
shared-blob = on
http-address = ${ports:plone}
zeo-address = ${ports:zeo}

[zeo]
recipe = plone.recipe.zeoserver
eggs = ${plone:eggs}
zeo-address = ${ports:zeo}

[supervisor]
# To make it easy to run both bin/plone and bin/zeo
recipe = collective.recipe.supervisor
programs =
# prio name proc parameters
0 zeo ${buildout:directory}/bin/zeo [ fg ]
0 plone ${buildout:directory}/bin/plone [ console ]
port = ${ports:supervisor}
serverurl = http://${hosts:localhost}:${ports:supervisor}

[ports]
supervisor = 9001
plone = 8080
zeo = 8100

[hosts]
localhost = 127.0.0.1

[backup]
recipe = collective.recipe.backup

# Backup daily
[backups]
recipe = z3c.recipe.usercrontab
times = 0 0 * * *
command = ${buildout:bin-directory}/bin/backup

# Pack once a month
[packups]
recipe = z3c.recipe.usercrontab
times = 0 0 1 * *
command = ${buildout:bin-directory}/bin/zeopack

You'll notice we also added ZEO and some other things. We'll talk about that in the next section.

0 comments on commit 1548add

Please sign in to comment.