简体   繁体   中英

How to setup a Django App on OpenShift DIY with virtualenv

As RedHat openshift doesn't support Python 2.7, I choose to use Do-It-Yourself (DIY) application.

I could able to install python 2.7, setuptools, PIP successfully using an amazing tutorial . Now I want to setup a VirtualEnv and install Django and other libs in it.

So, is there any similar (as mentioned above: step by step process) tutorial to configure?

I wrote a example app which runs on Python 2.7, Django 1.4 powered by uWSGI (or Gunicorn; dev choice) and Jenkins CI.. Of course using Virtualenv

https://github.com/ksurya/openshift-diy-py27-django-jenkins (dead - repo gone), alternative is https://github.com/joskid/openshift-diy-py27-django-jenkins (seams to be the same)

The other similar example projects:

  1. https://github.com/ehazlett/openshift-diy-py27-django
  2. https://github.com/zemanel/openshift-diy-django-example

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM