[Django]-A production ready server to serve django on win32

5👍

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.

👤nosklo

1👍

If you want to give Apache a go, check out XAMPP to see if it’ll work for you. You can do a lightweight (read: no installation) “installation.” Of course, you’ll also want to install mod_python to run Django. This post may help you set everything up. (Note: I have not used python/Django with XAMPP myself.)

Edit: Before someone points this out, XAMPP is not generally a production-ready tool. It’s simply a useful way to see whether Apache will work for you. Also, I saw that you’re using SQLite after the fact.

0👍

Why not Apache ?

Nokia have developed a scaled down version of apache to run on their mobile phones. It supports python.

http://research.nokia.com/research/projects/mobile-web-server/

Also do you need anything else such as database support etc?

👤Steve

Leave a comment