Skip to content

plone/cookiecutter-zope-instance

cookiecutter-zope-instance

Cookiecutter template to create a full and complex configuration for a Zope 5 WSGI instance.

Features

  • Creates basic file-system structure with zope.conf, zope.ini, site.zcml and 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.

Quick Start

  1. Install cookiecutter: pip install cookiecutter
  2. Create an instance.yaml:
default_context:
    initial_user_name: 'admin'
    initial_user_password: 'admin'
    zcml_package_includes: my.awesome.addon
    db_storage: direct
  1. Run:
cookiecutter -f --no-input --config-file instance.yaml \
    gh:plone/cookiecutter-zope-instance

Documentation

Full documentation is available at https://plone.github.io/cookiecutter-zope-instance/

Source Code & Contributions

License

GPL-2.0

Sponsor this project

 

Contributors