Skip to main content

A buildout recipe to create and update a plone site

Project description

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]

Download

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective.recipe.plonesite-0.1.tar.gz (6.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page