Django 应用程序的虚拟主机

发布于 2024-11-07 20:27:13 字数 1857 浏览 1 评论 0原文

我发现了一个用 Django 编写的不错的项目管理应用程序 (busylissy.com)。不幸的是,这些人在顶部写道,他们计划关闭它并将其作为开源发布以供进一步开发。我正在考虑使用基本的 Linux 程序将其托管在 ixwebhosting.com 上,但我不确定这是否可能,所以这基本上就是问题。

我只能访问基本配置,因此我无法在该服务器上真正安装任何东西。在requirements.txt中,该应用程序列出了以下内容:

 # **Django**
 Django==1.1

 # **Imaging**
 http://effbot.org/downloads/Imaging-1.1.6.tar.gz

 # **STDImage**
 -e git+git://github.com/gearheart/django-stdimage.git#egg=stdimage

 # **Django AuthOpenID**
 -e hg+https://[email protected]/benoitc/django-authopenid#egg=django_authopenid

 # **Django registration**
 -e hg+https://[email protected]/ubernostrum/django-registration#egg=registration

 # **Tagging**
 -e svn+http://django-tagging.googlecode.com/svn/trunk#egg=tagging

 # **Authority**
 -e hg+https://[email protected]/jezdez/django-authority#egg=authority

 # **Filebrowser**
 -e svn+http://django-filebrowser.googlecode.com/svn/trunk#egg=filebrowser

 # **Markdown**
 -e git+git://gitorious.org/python-markdown/mainline.git#egg=markdown

 # **Treebeard**
 -e svn+http://django-treebeard.googlecode.com/svn/trunk/#egg=treebeard

 # **Locale url**
 -e svn+http://django-localeurl.googlecode.com/svn/trunk/#egg=localeurl

 # **Thumbnail**
 -e hg+https://sorl-thumbnail.googlecode.com/hg/#egg=sorl-thumbnail

     # **DateUtil**
 http://labix.org/download/python-dateutil/python-dateutil-1.4.1.tar.gz

是否有机会构建一个包含所有这些先决条件的独立版本,该版本不需要mod_python之外的更多内容,或者我应该开始寻找其他工具?

I found a nice project management app written in Django (busylissy.com). Unfortunately, the guys write there at the top that they plan to shut it down and published it as open source for further development. I was thinking of hosting it on ixwebhosting.com with the basic linux program, but I'm not sure whether this is even possible, so that's basically the question.

I only have the access to the basic configuration, so I can't really install anything on that server. In the requirements.txt, the app lists following :

 # **Django**
 Django==1.1

 # **Imaging**
 http://effbot.org/downloads/Imaging-1.1.6.tar.gz

 # **STDImage**
 -e git+git://github.com/gearheart/django-stdimage.git#egg=stdimage

 # **Django AuthOpenID**
 -e hg+https://[email protected]/benoitc/django-authopenid#egg=django_authopenid

 # **Django registration**
 -e hg+https://[email protected]/ubernostrum/django-registration#egg=registration

 # **Tagging**
 -e svn+http://django-tagging.googlecode.com/svn/trunk#egg=tagging

 # **Authority**
 -e hg+https://[email protected]/jezdez/django-authority#egg=authority

 # **Filebrowser**
 -e svn+http://django-filebrowser.googlecode.com/svn/trunk#egg=filebrowser

 # **Markdown**
 -e git+git://gitorious.org/python-markdown/mainline.git#egg=markdown

 # **Treebeard**
 -e svn+http://django-treebeard.googlecode.com/svn/trunk/#egg=treebeard

 # **Locale url**
 -e svn+http://django-localeurl.googlecode.com/svn/trunk/#egg=localeurl

 # **Thumbnail**
 -e hg+https://sorl-thumbnail.googlecode.com/hg/#egg=sorl-thumbnail

     # **DateUtil**
 http://labix.org/download/python-dateutil/python-dateutil-1.4.1.tar.gz

Is there any chance to build a self-contained version with all these prerequisites included that doesn't require much more than mod_python or should I rather start looking for some other tool ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

源来凯始玺欢你 2024-11-14 20:27:13

您可以使用 virtualenv (http://pypi.python.org/pypi/virtualenv)

You could use virtualenv (http://pypi.python.org/pypi/virtualenv)

烟燃烟灭 2024-11-14 20:27:13

它具有需要编译代码(例如 PIL)的依赖项。我不太确定“基本 Linux 程序”是什么意思,或者你所说的“自包含”是什么意思,但是在任何普通的 Linux 机器上安装这些依赖项都是微不足道的。在某些共享托管平台上您可能会遇到麻烦,这些平台没有可用的已编译库,并且不允许您添加自己的库等。

也不要使用 mod_python,请使用 mod_wsgi

It has dependencies that require compiled code (such as PIL). I'm not really sure what the 'basic linux program' is all about, or what you mean by 'self contained', but it would be trivial to install these dependencies on any normal linux machine. You would have trouble on some shared hosting platforms that do not have the compiled libs available and do not allow you to add your own, etc.

Also don't use mod_python, use mod_wsgi

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文