A twitter bot that posts a random #rstats cheatsheet each day. Sourced from Rstudio - no affiliation. Developed by seabbs
This bot has been set-up to run as a self contained docker container using the following process,
- Clone the repository
git clone https://github.com/seabbs/TweetRstudioCheatsheets.git
-
Authorise the bot by setting up a twitter token. Instructions for this can be found here. Add the saved token (as
twitter_token.rds
) to theTweetRstudioCheatsheets
repository. -
Navigate to the
TweetRstudioCheatsheets
and build the docker container.
docker build . -t daily_r_cheatsheets
- Run the docker container.
docker run -d --name daily_r_cheatsheets daily_r_cheatsheets
- Check the logs to see if everything is working as expected. A cheatsheet should be posted, followed by a CRON job being set to repeat this daily.
docker logs -f daily_r_cheatsheets