Collect and plot speedtest-cli
results to https://elte-dh.github.io/speedtest-cli-results
- Install requirements:
sudo pip3 install -r requirements.txt
- Set basedir in backup.sh:4 cd /home/dh/speedtest-cli-results
- Set public key at github and private key to
chmod 600 id_rsa.github
- Clone the repo (also tests key):
ssh-agent bash -c 'ssh-add id_rsa.github; git clone [email protected]:ELTE-DH/speedtest-cli-results.git'
- Set branch and credentials:
cd speedtest-cli-results; git config user.name 'Speedtest-CLI Bot'; git config user.email '[email protected]'; git checkout results
- Set crontab with
crontab -e: * * * * * /home/dh/speedtest-cli-results/upload.sh >> /home/dh/speedtest-cli-results/upload.log 2>&1
to test in every minute