Simple Twilio notifier for Pingdom, so you don't have to pay so much for SMS credits.
heroku login
heroku create
heroku config:set TWILIO_ACCOUNT_SID=<insert your account sid here>
heroku config:set TWILIO_AUTH_TOKEN=<insert your auth token here>
heroku config:set TWILIO_PHONE_NUM=<insert your Twilio phone number here>
heroku config:set PASSWORD=<insert random string here>
git push heroku master
In your user settings, click "Add Contact Method", select "Webhook/URL", and set the URL to:
<your heroku url>/<password>/<recipient phone number>
TWILIO_ACCOUNT_SID
(Twilio account SID)TWILIO_AUTH_TOKEN
(Twilio auth token)TWILIO_PHONE_NUM
(the phone number for Twilio to text you from)PASSWORD
(prevent just anyone from sending messages as you)HOST
(defaults to0.0.0.0
)PORT
(defaults to5000
)
virtualenv env
source env/bin/activate
pip install -r requirements.txt
export DEBUG=1 # optional