English | 简体中文
China will hold a national mourning on April 4,2020 for martyrs who died in the fight against COVID19 and for compatriots who died from the disease, the State Council announced.
Use Grafana to display COVID-19 data
Requires Python 3.6 or later
git clone https://github.com/sunny0826/wuhan2020-grafana.git
cd wuhan2020-grafana
pip install -r requestment
python index.py
install Docker
docker pull guoxudongdocker/feiyan-datasource
docker run -d --name datasource -p 8088:3000 guoxudongdocker/feiyan-datasource
docker stop grafana
Runing Grafana,And need install SimpleJson plugin.
docker run \
-d --name grafana -p 3000:3000 \
-e "GF_SECURITY_ADMIN_PASSWORD=qwe123" \
-e "GF_INSTALL_PLUGINS=grafana-simple-json-datasource" \
grafana/grafana grafana
Select SimpleJson as the DataSource and fill in the Name
and URL
:http://host.docker.internal:8088
Click on Upload.json file
select wuhan2020-grafana/dashboard.json
kubectl apply -f deploy.yaml