Skip to content

robinske/wthik

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

Where The Hell Is Kelley

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages