From: Christian Heller Date: Tue, 30 Jun 2020 21:38:26 +0000 (+0200) Subject: Improve README explanation of what is actually happening. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/todo?a=commitdiff_plain;h=75dacaa30b7a267720323ec5b4793d716c461545;p=berlin-corona-table Improve README explanation of what is actually happening. --- diff --git a/README.txt b/README.txt index d0dfa36..934c4df 100644 --- a/README.txt +++ b/README.txt @@ -1,5 +1,19 @@ Daily updated table of development of Berlin's Corona virus infections. +How this works: + +Each day, the Berlin health ministry publishes by-district data of the day's +registered new Corona infections at [1]. ./update.sh crawls this and appends +the day's data as a single line to ./daily_infections_table.txt, then calls +./enhance_table.py which outputs an enhanced version of the data to +/var/www/html/berlin_corona.txt, which is served by my web server at [2]. A +systemd timer whose files are provided as ./berlin-corona-table.service and +./berlin-corona-table.timer calls ./update.sh once per day, when the new daily +data are expected to be found at [1]. + +[1] https://www.berlin.de/lageso/_assets/gesundheit/publikationen/corona/bezirkstabelle.csv +[2] https://plomlompom.com/berlin_corona.txt + Set-up: sudo cp berlin-corona-table.service /etc/systemd/system/