This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

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, including:
    • zc.buildout best practices
    • SQLite for development, PostgreSQL for production
    • A sample view with a Chameleon template
    • A sample model
    • static resources filled with Twitter Bootstrap niceties
    • Sphinx documentation
    • Exemplary test suite
    • Travis CI continuous integration
    • Heroku continuous deployment

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) mr.bob and the bobtemplates.niteoweb package and then run mrbob:

$ easy_install -U mr.bob
$ easy_install -U bobtemplates.niteoweb
$ mrbob --config ~/.mrbob.ini -O collective.foo bobtemplates: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: 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
$ 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 collective.foo 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.

Creating a Pyramid project

To create a Pyramid project first install (or upgrade to latest) mr.bob and the bobtemplates.niteoweb package and then run mrbob:

$ easy_install -U mr.bob
$ easy_install -U bobtemplates.niteoweb
$ mrbob --config ~/.mrbob.ini -O foo bobtemplates:pyramid

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: foo
...

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

$ cd foo
$ make

Great, you are now ready to start Pyramid:

$ make db
$ bin/pserve etc/development.ini
Release History

Release History

0.3

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
bobtemplates.niteoweb-0.3.zip (170.0 kB) Copy SHA256 Checksum SHA256 Source Jul 27, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting