Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
This is the code to go along with the OpenShift blog piece on how to use Flask (python) with MongoDB to create a REST like web service with spatial data
Python Shell
tree: ac2ed02d2f

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.openshift
data
libs
wsgi
.gitignore
README
README.md
parkcoord.json
setup.py

README.md

Flask on OpenShift

This git repository helps you get up and running quickly w/ a Flask installation on OpenShift.

Running on OpenShift

Create an account at http://openshift.redhat.com/

Create a python-2.6 application

rhc app create -a flask -t python-2.6

Add this upstream flask repo

cd flask
git remote add upstream -m master git://github.com/openshift/flask-example.git
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:

http://flask-$yournamespace.rhcloud.com
Something went wrong with that request. Please try again.