bobtemplates.bsuttor
is a mr.bob templates to generate strucutre packages for Plone projects.
At the moment, there is only one template for a empty Plone add-on. This template install a Plone add on with Test layer for intergration, funcationnal and robot test.
You have to install mr.bob
and bobtemplates.bsuttor
eggs. Then you can run mrbob:
$ pip install mr.bob $ pip install bobtemplates.bsuttor $ mrbob -O collective.foo bobtemplates:plone
You have to answer some questions:
Welcome to mr.bob interactive mode. Before we generate directory structure, some questions need to be answered. Answer with a question mark to display help. Value in square brackets at the end of the questions present default value if there is no answer. --> Namespace of the package: collective [...]
Now you can install your add on:
$ cd collective.foo $ make buildout
Finally you can lauch test:
$ bin/test
Or starting Plone:
$ bin/instance fg
Go with your browser to http://localhost:8080/
, and you can create your Plone site with your module installed
It's time to customize it ;-), see Plone developer help
You can see other example of bobtempaltes which are inspired me