Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

A production ready server to serve django on win32

I'd like to serve django application on windows XP/Vista. The application is an at hoc web interface to a windows program so it won't be put under heavy load (around 100 requests per second).

Do you know any small servers that can be easily deployed on windows to serve a django app? (IIS is not an option as the app should work on all versions of windows)

like image 415
Piotr Czapla Avatar asked Aug 31 '25 10:08

Piotr Czapla


1 Answers

cherrypy includes a good server. Here's how you set it up to work with django and some benchmarks.

twisted.web has wsgi support and that could be used to run your django application. Here's how you do it.

In fact any wsgi server will do. Here's one more example, this time using spawning:

$ spawn --factory=spawning.django_factory.config_factory mysite.settings

And for using paste, the info is gathered here.

Of course, you could use apache with mod_wsgi. It would be just another wsgi server. Here are the setup instructions.

like image 85
nosklo Avatar answered Sep 03 '25 01:09

nosklo