python

Openshift V2 and Flask with Virtualenv on OS X

Create a flask app for Openshift with a matching local python virtualenv to perform local testing. In this case we’ll use Python 2.7 on Mac OS X 10.9. Overview of the steps Install Homebrew Install Python Development Environment on Mac OS X Install rhc client tools. Install and Configure a Python Flask for OpenShift Installing Homebrew Ready the system for Homebrew First unhide ~/Library folder. Open Finder Press shift-command-H Press command-J Check Show Library Folder Now Setup shell environment Some of these settings are only relevant to later steps, but go ahead and put them all in now.

Continue reading