7

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?

4

3 回答 3

6

BitNami 提供免费的 Windows Django 一体化安装程序,其中包括在 Windows 上部署 Django 应用程序的所有依赖项。免责声明:我是该工具的开发人员之一。如果您要使用托管版本,我们还提供免费的 Windows Amazon 系统映像(在该页面的下方查看),但在这种情况下,我强烈建议您使用基于 Linux 的 AMI。

于 2011-08-09T19:51:46.780 回答
3

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.

于 2009-03-25T13:38:03.010 回答
0

如今,在基于 Windows 的服务器上部署 Django Web 项目变得不那么麻烦了。这仍然具有挑战性,因为大多数指南都面向 Unix 系统,但在 Windows 服务器上部署并非不可能。微软现在为带有 IIS 的 Django 提供了一些原生支持。

但是,您不仅限于 IIS。您可以使用Apache + mod_wsgi。这是我自己的测试项目之一,您可以在 Apache我的 web 项目上部署它。

于 2020-05-22T02:04:43.867 回答