-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
44 lines (24 loc) · 930 Bytes
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
To regenerate the map:
Download latest data
wget.bat
Create a local version (assumes you have a valid api key; if not, see below)
perl mk_html.pl -l
Open in browser
start .\local_nsw_covid_map.html
To create a version that can be uploaded to github
perl mk_html.pl
If you want to compare first:
vim -d nsw_covid_map.html map/index.html
When ready to upload
git add .
git commit -m "update data to <date>"
git push
Wait a minute, then sanity check at
https://benaveling.github.io/nswcovid/map/
Look for the date to be updated.
===============================================================
You can get a new google api key from:
https://developers.google.com/maps/documentation/places/web-service/get-api-key
More than a certain number of requests a month starts to cost money. It's a fairly large number, perhaps 28,000?
To monitor, visit the console:
https://console.cloud.google.com/