Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you deploy django applications for windows? [closed]

I'm working on a web application using isapi_wsgi and django-pyodbc. I'd like to have a way to install all dependencies and push the files out to the webserver. Unfortunately, some of these are easier said than done. In particular, handling dependencies is a pain as some of them won't install correctly even under setuptools (pywin32 is especially difficult).

Most of the tools that I see for automating this kind of stuff (fabric and capistrano) are made for use with unix-y systems. I would like to set up a continuous integration system, but that only solves part of the problem. Is there any way to make life easier for a Pythonista who's forced to use Windows/IIS?

like image 861
Jason Baker Avatar asked Mar 25 '09 13:03

Jason Baker


People also ask

How do I host a Django site in Windows?

Installing Django on WindowsDjango can be installed using PIP with a command such as pip install django . The process may pull in some additional dependencies if they are not already present on your system.


2 Answers

BitNami provides free Windows Django all-in-one installers that include all dependencies to deploy a Django app on Windows. Disclaimer: I am one of the developers of this tool. If you are going for a hosted version, we also have free Windows Amazon Machine Images (look further down in that page) but in that case I would strongly recommend going with a Linux-based AMI.

like image 152
Daniel Lopez Avatar answered Sep 27 '22 22:09

Daniel Lopez


Have you looked into Paver? It might not be the perfect solution, but maybe better then your current process.

And it has setuptools (and other useful wrappers) built-in.

like image 39
Jason Coon Avatar answered Sep 27 '22 21:09

Jason Coon