Skip to content
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


My Shopping List

This is a demo app for mobiles written using Flask and jQuery Mobile. The backend storage is MongoDB.

The app basically allows you to mark/add items to a list and share the list itself from your mobile phone and your pc! So if one day your fellow needs some stuff from the grocery he can just add the items to the list and you’ll have it at your fingers later, when at the mall!

It has been deployed on OpenShift where Flask and pymongo are installed at deployment time, loot at the `` file in the root.

Deployment steps

Create the application on OpenShift:

$ rhc app create -a myshoppinglist -t python-2.6

add the mongodb cartridge:

$ rhc cartridge add -a myshoppinglist -c mongodb-2.2

add my github repo as a remote to your copy of the app, the pull and merge the diffs:

$ cd myshoppinglist
$ git remote add upstream git://
$ git pull -X theirs upstream master

push to OpenShift:

$ git push

and that’s it, go at http://myshoppinglist-$ and enjoy!

Only if you decide to give your app a different name don’t forget to reflect the changes in the `application` file where the database opened by default is name `myshoppinglist`.
The database connectivity is managed via the following environment variables, which you will have predefined by the OpenShift servers at app creation:

dbhost = os.environ['OPENSHIFT_MONGODB_DB_HOST']
dbport = int(os.environ['OPENSHIFT_MONGODB_DB_PORT'])
dbuser = os.environ['OPENSHIFT_MONGODB_DB_USERNAME']
dbpass = os.environ['OPENSHIFT_MONGODB_DB_PASSWORD']


demo mobile app deployed on OpenShift built in pure html5 with Flask/jQuery Mobile, stores on MongoDB



No releases published


No packages published
You can’t perform that action at this time.