Git Product home page Git Product logo

wtf-coronavirus-ohio's Introduction

WTF Coronavirus Ohio

A WTF (wtfutil) dashboard module for coronavirus pandemic data from the Ohio Department of Health.

Docker Image Version Code Style: Black GitHub Actions Workflow Status Maintainability codecov PyPI version PyPI downloads

Docker Image: tedmiston/wtf-covid-19-ohio

Data: coronavirus.ohio.gov

Setup

Requires WTF and Docker.

If SQLite is available, it will be used as a cache.

Install

Add the covid-19-ohio module config to wtf.mods in your WTF config file:

wtf:
  ...
  mods:
    ...
    covid-19-ohio:
      type: cmdrunner
      title: COVID-19 Ohio
      cmd: docker
      args: ["run", "--rm", "tedmiston/wtf-covid-19-ohio:v1.2.2"]
      position:
        top: 4
        left: 0
        height: 2
        width: 1
      refreshInterval: 3600  # 3600 seconds == 1 hour
      enabled: true

The config file is located at ~/.config/wtf/config.yml by default.

The module runs a Docker container so it should just work.

Quickstart

Just run the WTF dashboard:

$ wtfutil

wtf-coronavirus-ohio's People

Contributors

tedmiston avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

wtf-coronavirus-ohio's Issues

ERROR Could not load '/Users/chip.eyler/.config/wtf/config.yml'.

Getting the following error after building the image with docker build -t "name:dockerfile" .:

โžœ  wtf-covid-19-ohio git:(master) wtfutil

ERROR Could not load '/Users/chip.eyler/.config/wtf/config.yml'.

This could mean one of two things:

    1. That file doesn't exist.
    2. That file has a YAML syntax error. Try running it through http://www.yamllint.com to check for errors.

Error: yaml: line 3: mapping values are not allowed in this context

cat /Users/chip.eyler/.config/wtf/config.yml reveals that I have the file and it's verbatim, from the readme

When using the linter, I get (<unknown>): mapping values are not allowed in this context at line 3 column 7

Thoughts?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.