Skip to content

public-engineering/call-your-representatives_heroku

Repository files navigation

Call Your Representatives

Deploy

Deploys a web-based dialer, to make Twilio-powered calls to Congress from the browser.

If you'd like to support the project and help keep these services running:

Setup

Requires Twilio voice-capable phone number, a TwiML application SID, and an account SID and Token. Also requires a Google Civic API key for representative lookup. These should all be set as environment variables for your application:

export twilio_sid=""
export twilio_token=""
export twilio_twiml_sid=""
export numbers_outbound="+12345678"
export GOOGLE_API_KEY=""

Build & Run

Can be built on any Docker host using this Dockerfile:

docker build -t callyourreps .

and run:

docker run -d -p 5000:5000 \
-e twilio_sid="" -e twilio_token="" \
-e twilio_twiml_sid="" -e numbers_outbound="" \
-e GOOGLE_API_KEY="" \
--name call-your-reps callyourreps

or run on Heroku using the button above.