"It puts calendar stuff on a screen."
- Create a virtualenv, source it.
pip install -r requirements.txt
- Get a Google API service account,
download the keyfile, and name it
keyfile.json
in this dir. You can also flatten the JSON and put it into an environment variable calledKEYFILE
, instead of using a file.
Run the app using the built-in Flask web server
- Source the right virtualenv
python app.py
Using the Flask web server is good for dev, but for "production" we'll use uwsgi.
- Source the virtualenv
export PORT=5000
uwsgi uwsgi.ini