Sven Hendriks is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

shendriks / cpstub

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.

Clone this repository (size: 1.9 KB): HTTPS / SSH
hg clone https://bitbucket.org/shendriks/cpstub
hg clone ssh://hg@bitbucket.org/shendriks/cpstub

cpstub overview

Recent commits See more »

Author Revision Comments Message Labels Date
Sven Hendriks 21f19941cb30 Added tag 0.1.1 for changeset f8673f4fdc72
Sven Hendriks f8673f4fdc72 moved from tabs to spaces in root.py.tmpl
Tag
0.1.1
Sven Hendriks 613e6875d829 Added tag 0.1.0 for changeset da9b29a2bcc5
Sven Hendriks da9b29a2bcc5 removed all CSS definitions, so we have a plain CSS files with some empty classes only
Tag
0.1.0
Sven Hendriks 2fd734624579 Re-adding mako templates and base.css
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