Code for setting up a flask application on openshift.