Package: bobtemplates.niteoweb
bobtemplates.niteowebprovidesmr.bobtemplates 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 practicesGenericSetup install profileZope 3 browser layerz3c.jbotoverrides folderstatic/resourceDirectory for serving static resources (images, CSS,
JS, etc.)Sphinxdocumentationtest suite with a solid test coverageTravis CIintegrationPyramid: a template for a full featured Pyramid project, including:zc.buildout best practicesSQLite for development, PostgreSQL for productionA sample view with a Chameleon templateA sample modelstaticresources filled with Twitter Bootstrap nicetiesSphinxdocumentationExemplary test suiteTravis CIcontinuous integrationHerokucontinuous deploymentGlobal settingsSome 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, atNiteoWeb Ltd., for example, have these answers always
available for us athttp://www.niteoweb.com/mrbob.ini.Creating a Plone add-on packageTo create a Plone add-on first install (or upgrade to latest)mr.boband
thebobtemplates.niteowebpackage and then runmrbob:$ easy_install -U mr.bob
$ easy_install -U bobtemplates.niteoweb
$ mrbob --config ~/.mrbob.ini -O collective.foo bobtemplates:ploneThen 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: foo
(namespace is already set in the ~/.mrbob.ini)

...And your package is ready! Let’s build the development environment and see
if all tests pass:$ cd collective.foo
$ makeGreat, you are now set to start Zope in foreground mode:bin/instance fg.
Once Zope is up, point your browser tohttp://localhost:8080, login asadmin:admin, create a new Plone site while selectingcollective.foofrom 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.Creating a Pyramid projectTo create a Pyramid project first install (or upgrade to latest)mr.boband
thebobtemplates.niteowebpackage and then runmrbob:$ easy_install -U mr.bob
$ easy_install -U bobtemplates.niteoweb
$ mrbob --config ~/.mrbob.ini -O foo bobtemplates:pyramidThen 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: foo
...And your package is ready! Let’s build the development environment and see
if all tests pass:$ cd foo
$ makeGreat, you are now ready to start Pyramid:$ make db
$ bin/pserve etc/development.ini