Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close

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

Recent activity

Sven Hendriks

Commits by Sven Hendriks were pushed to shendriks/cpstub

aff0c16 - Commented static dirs for js and images out in CP config for now as they do not exist after installation
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.