From 45c65a19b4fcb51145e60dcc38bdb62d0c4b8c5b Mon Sep 17 00:00:00 2001 From: Michael Woolweaver Date: Tue, 16 Apr 2019 02:04:59 -0500 Subject: [PATCH] Update README.md --- README.md | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 9e74058..d177ed2 100644 --- a/README.md +++ b/README.md @@ -2,16 +2,8 @@ Send a daily tweet with your Pi-Hole statistics! # How to use -1. Install Python 3 -2. `pip3 install -U -r requirements.txt` -3. Copy config.ini.example to config.ini and adjust it - * `api_path` = Path to your /admin/api.php of Pi-Hole - * Tokens: Create an application [here](https://apps.twitter.com/) -4. Run it! +1. Create an application [here](https://apps.twitter.com/). You will need the tokens for this to work -# Cronjob -This will tweet your stats at 23:59 everyday and redirects output to /dev/null: +2. curl -sSL https://raw.githubusercontent.com/mwoolweaver/Pi-Hole-stats-tweeter/master/install.sh | bash -``` -59 23 * * * python3 /path/to/pihole_tweeter.py >/dev/null 2>&1 -``` +the install script will ask if you want to install as a cronjob