Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 695
Surya Avatar asked Jul 18 '12 15:07

Surya


1 Answers

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
like image 175
Surya Avatar answered Oct 13 '22 22:10

Surya