plone / cookiecutter-zope-instance

It bakes configuration for Zope 5
BSD 3-Clause "New" or "Revised" License
7 stars 4 forks source link

How can i setup cookiecutter for developing a custom plone addon #2

Closed 1letter closed 2 years ago

1letter commented 2 years ago

@jensens How can i include a custom addon which is create with plonecli? My directory layout:

- dev.test1 --> the addon created by plonecli
- instance
  - etc
  - var
  - inituser
- venv
- config.yaml --> the cookiecutter config

is this possible via the config.yaml or should i use the normal buildout inside the custom addon? General asked, is cookiecutter ready to use for development process of Plone Addons? For me it's unclear, what is the standard way? plonecli with the buildout or cookiecutter... i'm a little bit confused.

jensens commented 2 years ago

The cookiecutter here does one thing: create configuration to run a zope instance. Nothing else.

If you're addon has a configure.zcml, include it like documented.

Eventually youre also looking for tools like mxdev and plonecli