This repo contains the code running the BotPitchfork Twitter bot, which tweets Pitchfork's best new music - tracks, albums and reissues - as soon as it's announced. The bot is built using Dashblock and Tweepy. Everything is hosted on Heroku, with a Flask app.
A detailed description of the project can be found on Medium.
The template used to host the Flask app on Heroku comes from: https://github.com/yefim/flask-heroku-sample.
There you will also find instructions on how to deploy to Heroku.
To enable constant monitoring and automated tweeting you need to create a cron job in Heroku, and this can be done using the Heroku Scheduler add on, connected to the post.py script.