Skip to content
Where The Hell Is Kelley
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
Procfile
README.md
app_config.py
requirements.txt
wthik.py

README.md

Where The Hell Is Kelley?

Or, how I keep my mom updated on my travel schedule with Python, Twilio and Google Calendar. For a full tutorial on how to run this check out the blog post:

https://www.twilio.com/blog/2018/06/how-i-keep-my-mom-updated-on-my-travel-schedule-with-twilio-and-google-calendar.html

Deploying to Heroku

This project has some modifications not mentioned in the blog post to support deploying to Heroku. Make sure you have a Heroku account and create a new project from the CLI

heroku create

Set the following as Heroku environment variables with heroku config:set VARIABLE_NAME:VARIABLE_VALUE. You can also find the expected environment variables in app_config.py.

CALENDAR_ID
WTHIK_PROJECT_ID
WTHIK_PRIVATE_KEY_ID
WTHIK_PRIVATE_KEY
WTHIK_CLIENT_EMAIL
WTHIK_CLIENT_ID
WTHIK_CLIENT_CERT_URL

One gotcha: make sure your private key is formatted correctly.

Deploy to Heroku:

git push heroku master

Once deployed, update your Twilio webhook URL to point at your Heroku URL instead of an ngrok URL. Then test it out by sending an SMS!

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.