5

由于 RedHat openshift 不支持 Python 2.7,我选择使用 Do-It-Yourself (DIY) 应用程序。

我可以使用精彩的教程成功安装 python 2.7、setuptools、PIP 。现在我想设置一个 VirtualEnv 并在其中安装 Django 和其他库。

那么,有没有类似的(如上所述:一步一步的过程)教程来配置?

4

1 回答 1

5

我编写了一个示例应用程序,它在 Python 2.7、由 uWSGI(或 Gunicorn;开发者选择)和 Jenkins CI 提供支持的 Django 1.4 上运行。当然使用 Virtualenv

https://github.com/ksurya/openshift-diy-py27-django-jenkins (dead - repo没了), 替代方案是https://github.com/joskid/openshift-diy-py27-django-jenkins (接缝到是相同的)

其他类似的示例项目:

  1. https://github.com/ehazlett/openshift-diy-py27-django
  2. https://github.com/zemanel/openshift-diy-django-example
于 2012-09-02T15:12:41.720 回答