Cookiecutter template to create a full and complex configuration for a Zope 5 WSGI instance.
- Creates basic file-system structure with
zope.conf,zope.ini,site.zcmland initial user - Set Zope's main configuration options
- Configure different database backends: direct filestorage, RelStorage, ZEO, or PGJsonb
- CORS configuration for REST API usage
- Development and profiling options
- Environment-variable helper for containerized deployments
All non-ancient features of plone.recipe.zope2instance are provided plus new features.
- Install cookiecutter:
pip install cookiecutter - Create an
instance.yaml:
default_context:
initial_user_name: 'admin'
initial_user_password: 'admin'
zcml_package_includes: my.awesome.addon
db_storage: direct- Run:
cookiecutter -f --no-input --config-file instance.yaml \
gh:plone/cookiecutter-zope-instanceFull documentation is available at https://plone.github.io/cookiecutter-zope-instance/
- Tutorials -- Step-by-step lessons
- How-To Guides -- Task-focused solutions
- Reference -- All configuration options
- Explanation -- Architecture and rationale
- Repository: https://github.com/plone/cookiecutter-zope-instance
- Issues: https://github.com/plone/cookiecutter-zope-instance/issues
- Changelog: CHANGES.md
GPL-2.0