Marc
Marc

Reputation: 51

Minimal production Django server on Windows

I need to deploy a small Django app to be used in a small intranet. Concurrency and speed are non issues because there will be, at most, 10 users (and I bet that there will be almost no concurrency).

There is already a MySQL server. The problem is with the Django app. What is the most lightwieght server I can install under a WinXP environment ? The Apache + mod_python approach seems a little overkill. The cherrypy server seems more suitable.

Any suggestions ? Someone with similar experiences ?

Upvotes: 5

Views: 1554

Answers (4)

Burhan Khalid
Burhan Khalid

Reputation: 174624

The Windows port of lighttpd also bears mention.

Upvotes: 0

Chris Wesseling
Chris Wesseling

Reputation: 6368

We're currently deploying a small intranet Django app to complement a closed source app on IIS to an audience of about 300-400, but low use.

We opted for cherrypy by means of django-wsgiserver, but go for the bitbucket version if you don't use the admin, there's a bug in the 0.6.10 version that's on pypi.

We have IIS as a reverse proxy in front of it, and use media from the existing app. Don't know yet if it's stable, but I like the fact that it's conceptually the same as the Apache+gunicorn setup that I use on the *nix box.

Since this question dates from 2 years, I'm very curious about your experience.

Upvotes: 0

fest
fest

Reputation: 1635

As I'm not a big fan of IIS, I'd still use Apache + mod_wsgi. mod_wsgi is officially recommended way of deploying django apps, according to http://docs.djangoproject.com/en/dev/howto/deployment/modwsgi/

Upvotes: 2

Brian R. Bondy
Brian R. Bondy

Reputation: 347226

You could use IIS with PyISAPIe.

I outline my Django on Windows deployment here and also more info on PyISAPIe with Python 2.6 here.

Upvotes: 2

Related Questions