Which Chicagoans are getting vaccinated? A bot for the South Side Weekly.
Uses Python, tweepy, and Heroku. S/o to this post by Emily Cain for the guiding method.
This app is deployed on Heroku. To deploy what's on the master branch:
git push heroku masterTo check out the logs:
heroku logs --tailTo get started, run the following from your terminal:
- Clone this repository and
cdinto your local copy.
git clone git@github.com:beamalsky/chivaxbot.git
cd chivaxbot-
Switch the
LOCAL_DEVELOPMENTvariable inbot.pytoTrue -
Rename
secrets_example.pytosecrets.py:
mv secrets_example.py secrets.py-
You'll need your own Twitter and NYT API keys. Get them and fill them in to your new
secrets.pyfile. -
Run the app locally!
docker-compose run --rm app python bot.py