-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME
19 lines (13 loc) · 1.22 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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:
- "./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 [email protected]