Skip to content

odeoncg/django-cherrypy-odeon

 
 

Repository files navigation

django-cherrypy-odeon is a Django app that allows you to run the cherrypy WSGI server as a production or as a development server (replacing the 'runserver' command with a threaded cherrypy instance).

Installation:
- add wsgiserver/ from the cherrypy project in your python path. The bundled version was patched to ignore malformed HTTP headers and to optionally output the served path to mimic devserver's behavior, so it's recommended over the upstream version.
- add django_cherrypy_odeon to INSTALLED_APPS in your settings.py

Usage info:
- "./manage.py runcpserver help" - for the production server
- "./manage.py runserver_cp help" - for the development server

Additional files:
- cherrypy_server.sh - helper script for starting/stopping/restarting the production server. It should stay in the Django project dir
- cherrypy_init_script.debian and cherrypy_init_script.gentoo - example init scripts for Debian and Gentoo using cherrypy_server.sh

This is a fork of django-cpserver ( http://github.com/lincolnloop/django-cpserver ) since before the BSD licence was added so we took the liberty of licensing it under GPLv3.

website: http://od-eon.com/labs/django-cherrypy-odeon/
For technical support questions contact us at developers@od-eon.com

About

management commands to run cherrypy as a production / development server for a Django project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.0%
  • Shell 1.0%