covid19-edmonton/README.md

29 lines
984 B
Markdown
Raw Permalink Normal View History

2020-04-25 07:09:15 +00:00
2020-04-25 02:00:23 +00:00
# covid19-edmonton
2020-04-25 07:09:15 +00:00
[![Build Status](https://drone.deadbeef.codes/api/badges/steven/covid19-edmonton/status.svg)](https://drone.deadbeef.codes/steven/covid19-edmonton)
2020-04-25 02:47:44 +00:00
I was bored and want to keep tabs on this in my area. Will download latest stats from alberta government website for COVID-19 and output the number of total and active cases in my area. Here's an example, it runs and nearly instantaneous spits out the current numbers.
![alt text][logo]
[logo]: https://deadbeef.codes/steven/covid19-edmonton/raw/master/example.png "The current stats at the current time (sometime in the past)"
2020-04-25 02:44:33 +00:00
2020-04-25 07:09:15 +00:00
### Web Mode
Simply invoke it with the -web flag and it will listen on port 8080
```bash
./covid19-edmonton -web
```
### Installation for Windows
2020-04-25 02:44:33 +00:00
2020-04-25 07:33:43 +00:00
Download from releases page and run it. We're not fancy. I can't even afford a code signing certificate.
2020-04-25 02:44:33 +00:00
2020-04-25 07:09:15 +00:00
### Building from Source
2020-04-25 02:44:33 +00:00
1. Install Go from https://golang.org
2. Clone this repository
2020-04-25 02:47:44 +00:00
3. Run the command: go build .