skip to navigation
skip to content

collective.recipe.plonesite 0.1

A buildout recipe to create and update a plone site

Latest Version: 1.9.5

Detailed Documentation

Options

site-id
The id of the Plone site that the script will create. This will also be used to update the site once created. Default: Plone
admin-user
The id of an admin user that will be used as the ‘Manager’. Default: admin
products-initial
A list of products to quickinstall just after initial site creation
profiles-inital
A list of GenericSetup profiles to run just after initial site creation. Profiles have the following format: <package_name>:<profile> (e.g. my.package:default)
products
A list of products to quickinstall each time buildout is run
profiles
A list of GenericSetup profiles to run each time buildout is run
instance
The name of the instance that will run the script. Default: instance
zeoserver
The name of the zeoserver part that should be used. This is only required if you are using a zope/zeo setup. Default: not set

Example usage

We’ll start by creating a buildout that uses the recipe:

>>> write('buildout.cfg',
... """
... [buildout]
... parts = test1
...
... [test1]
... recipe = collective.recipe.plonesite
... option1 = %(foo)s
... option2 = %(bar)s
... """ % { 'foo' : 'value1', 'bar' : 'value2'})

Running the buildout gives us:

>>> print 'start', system(buildout) # doctest:+ELLIPSIS
start...
Installing test1.
Unused options for test1: 'option2' 'option1'.
<BLANKLINE>

Contributors

Clayton Parker, Author

Change history

0.1 (2008-10-11)

  • Created recipe with ZopeSkel [claytron]
 
File Type Py Version Uploaded on Size
collective.recipe.plonesite-0.1.tar.gz (md5) Source 2008-10-12 6KB