2012-07-18 87 views
5

由於RedHat openshift不支持Python 2.7,我選擇使用自己動手(DIY)應用程序。如何使用virtualenv在OpenShift DIY上設置Django應用程序

我能夠安裝python 2.7,setuptools,PIP成功使用了令人驚歎的tutorial。現在我想設置一個VirtualEnv並在其中安裝Django和其他庫。

那麼,有沒有類似的(如上所述:一步一步的過程)教程來配置?

+1

截至最近幾個月,您可以運行2.7和3.3 python作爲社區購物車。 – Clayton 2013-05-31 03:39:05

回答

5

我寫上運行的Python 2.7,則Django 1.4搭載uWSGI一個示例應用程序(或Gunicorn; dev的選擇)和詹金斯CI ..使用VIRTUALENV

當然

https://github.com/ksurya/openshift-diy-py27-django-jenkins(死 - 回購消失),另一種方法是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
+0

會有django 1.5的更新嗎? – 2013-03-10 18:44:07

相關問題