Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Minimal production Django server on Windows

Tags:

windows

django

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 ?

like image 684
Marc Avatar asked Oct 15 '22 11:10

Marc


2 Answers

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.

like image 64
Brian R. Bondy Avatar answered Oct 26 '22 06:10

Brian R. Bondy


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/

like image 43
fest Avatar answered Oct 26 '22 07:10

fest