uWSGI on OpenShift

This git repository helps you running a uWSGI server quickly on OpenShift. The default configuration runs the uWSGI server with a WSGI Python app but you can run whatever you want as long as uWSGI supports it.

You can configure how to build the uWSGI sever in the "uwsgi_build.ini" file if you don't want to run uWSGI with Python or if you want to install other plugins.

There is also an "uwsgi.yaml" configuration file that you can decide how to run the uWSGI server. You can change anything there, including the path to the static directory or the path to your "" file (of course you don't need this file if you don't want to run Python with uWSGI).

Another good news for Python developers. Although the OpenShift comes with a python-2.6 type template, but it lacks support for installing dependencies through pip's requirements.txt file. It's supported in this template out-of-box! For other developers, please feel free to delete the "requirements.txt" file at the repository's root directory.

Running on OpenShift

Create an account at

Create a diy-0.1 app

rhc app create -a $APP_NAME -t diy-0.1 -l $YOUR_LOGIN_EMAIL

Add this upstream repo

git remote add upstream -m master
git pull -s recursive -X theirs upstream master

Then push the repo upstream

git push

That's it, you can now checkout your application at