Skip to main content

bobtemplates.niteoweb provides mr.bob templates to generate packages for Plone and Pyramid projects. Templates are designed to be reusable by others, individuals and teams. All templates have tests for verifying which files and folders were generated, along with tests that run on the actual generated package.

Available templates are:

  • Plone: a template for a full featured Plone add-on, including:

    • zc.buildout best practices

    • GenericSetup install profile

    • Zope 3 browser layer

    • z3c.jbot overrides folder

    • static/ resourceDirectory for serving static resources (images, CSS, JS, etc.)

    • Sphinx documentation

    • test suite with a solid test coverage

    • Travis CI integration

  • Pyramid: a template for a full featured Pyramid project, work-in-progress.

Global settings

Some answers to bob’s questions can be pre-filled based on global configuration so you don’t have to answer them every time. You can store this configuration either on you local computer, or if you are working in a team, somewhere online. We, at NiteoWeb Ltd., for example, have these answers always available for us at http://www.niteoweb.com/mrbob.ini.

Creating a Plone add-on package

To create a Plone add-on first install (or upgrade to latest) the bobtemplates.niteoweb package and then run mrbob:

$ easy_install -U bobtemplates.niteoweb
$ mrbob --config ~/.mrbob.ini -O collective.foo bobtemplates.niteoweb:plone

Then 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.


--> Name of the package: zulu

...

And your package is ready! Let’s build the development environment and see if all tests pass:

$ cd niteoweb.zulu
$ make

Great, you are now set to start Zope in foreground mode: bin/instance fg. Once Zope is up, point your browser to http://localhost:8080, login as admin:admin, create a new Plone site while selecting niteoweb.zulu from the list of Add-ons and voilá: a Plone site with your very own add-on installed.

Now you can add some customizations to views and templates, or maybe write some CSS and JS.

Metadata

Release files for bobtemplates.niteoweb 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bobtemplates.niteoweb 0.1
File Size Uploaded
bobtemplates.niteoweb-0.1.zip 34.7 kB Details

Release files / bobtemplates.niteoweb-0.1.zip

Download URL bobtemplates.niteoweb-0.1.zip
Size 34.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c418b371ec5fb6b4181b75accacc1734a2b444768ba162e76ed894db22f87fe3
BLAKE2b-256 checksum
How to use checksums
9bd111310ed36ed842f25df8e72061aa97bdde907cb9d6bbbdedd48c98e2f0d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.3

1 release file

0.2

1 release file

0.1.2

1 release file

0.1.1

1 release file

This release

0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page