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 master
To check out the logs:
heroku logs --tail
To get started, run the following from your terminal:
- Clone this repository and
cd
into your local copy.
git clone [email protected]:beamalsky/chivaxbot.git
cd chivaxbot
-
Switch the
LOCAL_DEVELOPMENT
variable inbot.py
toTrue
-
Rename
secrets_example.py
tosecrets.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.py
file. -
Run the app locally!
docker-compose run --rm app python bot.py