A bot that tweets any time the 538 Election Model is updated.
The live bot lives at: https://twitter.com/538forecastbot
git clone
the repo- Install the correct version of Ruby (see Gemfile) with rbenv or rvm
- Run
bundle install
to install dependencies - Run tests with
bin/rspec spec
This currently runs on Heroku and uses their scheduler to check for updates every 10 minutes. It does this by running the script bin/tweet_forecast_if_new
.
Feel free to ping me on Twitter at https://twitter.com/allafarce
Copyright 2016 Dave Guarino — MIT License