X-Git-Url: https://plomlompom.com/repos/?p=berlin-corona-table;a=blobdiff_plain;f=README.txt;h=0646f4940d822b74c16a2f242da9310e5857e7e0;hp=3ebdb88b66d172408abd7e487d616020e4d16b3a;hb=a74c52dc16b8f79f32b088d5db7b034038ef329a;hpb=59a05ccc1277589057e4622e05a549549b0a4d01 diff --git a/README.txt b/README.txt index 3ebdb88..0646f49 100644 --- a/README.txt +++ b/README.txt @@ -1 +1,21 @@ 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/.html, 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 & https://plomlompom.com/berlin_corona.html + +Set-up: + +sudo cp berlin-corona-table.service /etc/systemd/system/ +sudo cp berlin-corona-table.timer /etc/systemd/system/ +sudo systemctl enable --now berlin-corona-table.timer