Overview

cpstub - CherryPy Stub

This package provides you with a simple script to create a basic runable template for a CherryPy project using Mako and Routes.

To create a new project type

cpstub_create <project name>

This will create a new folder <project name> which contains a basic runable CherryPy project.

Then install the freshly created project, e.g.

cd <project name> python setup.py develop

And start the webserver, e.g.

python -c 'from <project name>.web.control import root; root.run()'

The CP server should come up on 127.0.0.1:8080

Visit http://127.0.0.1:8080 in the browser of your choice