The run the bot is run on Heroku, and you needs Developer API keys from Twitter and Reddit.
The project can be deployed straight from Github to Heroku. After linking the repo here, deploy it manually on the 'Manual deploy' section.
On the project page, go to Settings tab, and click on 'Reveal Config Vars'. After that, you have to set the following fields
- REDDIT_KEY
- REDDIT_SECRET
- REDDIT_SUBREDDIT
- TWITTER_KEY
- TWITTER_SECRET
- TWITTER_ACCESS_TOKEN
- TWITTER_TOKEN_SECRET
- TWITTER_USERNAME
On the main page of the Heroku project, click on 'Configure Add-ons', and add 'Heroku Scheduler' to the project. Configure the scheduler by clicking 'Add job', and choose how often do you want the bot to run, the 'Run command' should be set to python main.py
.