Skip to content

Commit

Permalink
Update README.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan committed Dec 17, 2012
1 parent 8e47884 commit bfbf722
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,27 @@ After installing you can run the demo application::

(venv)$ python flask-oauthprovider/examples/runserver.py

MongoDB Example
-------

This repo also includes a fully working, MongoDB / pymongo
backed OAuth provider in the `/examples`_ folder.

Before running the demo you need to install a few dependencies (virtualenv is
highly recommended).::

$ virtualenv venv
$ source venv/bin/activate
(venv)$ git clone https://github.com/idan/oauthlib.git
(venv)$ python oauthlib/setup.py install
(venv)$ git clone https://github.com/ib-lundgren/flask-oauthprovider.git
(venv)$ python flask-oauthprovider/setup.py install
(venv)$ pip install flask-openid pymongo

After installing you can run the demo application::

(venv)$ python flask-oauthprovider/examples/runserver_mongo.py

Usage
-----

Expand Down

0 comments on commit bfbf722

Please sign in to comment.