A mini-site for checking Google's GMail feed with Oauth. See a live example at http://emailed-me.appspot.com
Copy secrets.py.example
to secrets.py
and fill in the necessary information.
SECRET_KEY
is used by Flask. Runimport os; os.random(24)
and paste its resultsCONSUMER_KEY
andCONSUMER_SECRET
will work as is, or you can register your app and get a key/secret from GoogleTEST_GOOGLE_EMAIL
andTEST_GOOGLE_PASSWORD
can be used to test your application, but aren't required otherwise.
To run using the App Engine SDK, simply run:
dev_appserver.py .
within this directory.
To run outside of App Engine, either:
- add
lib
to yourPYTHONPATH
, or pip install -r requirements.pip
then run:
python application.py
Testing is done using Twill. It is easiest to install the requirements via pip install -r requirements.pip
, then run:
python tests.py