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 details)

Uploaded Source

File details

Details for the file collective.recipe.plonesite-0.1.tar.gz.

File metadata

File hashes

Hashes for collective.recipe.plonesite-0.1.tar.gz
Algorithm Hash digest
SHA256 b19e9d5be4aaa2d79919fbe50e1da81846784afa85213cc348d89670ed3a2191
MD5 e41b5126bb8222d7dd8bdd1bd8f6835b
BLAKE2b-256 72d299a1091f7728b022257342c83ac230a6d1819e7c1ff60f6efb24b11c9d19

See more details on using hashes here.

Supported by

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