Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 1.64 KB

README.md

File metadata and controls

38 lines (23 loc) · 1.64 KB

Tests codecov

ADHO Status Dashboard

A lightweight dashboard for displaying the status of ADHO-supported infrastructure.

Also included is a python script that reads the same config file and runs the checks from a command-line interface. This script has been written to be suitable for use from cron or other schedulers (preferably on an always-up server unconnected to the ones that run the services being checked, but it can also be run on a workstation) -- see the script for details.

Run Locally

  1. git clone this repository

Live Updating Development Build

  1. yarn
  2. yarn dev (This will run the development server and reflect your changes to the page as you save files)
  3. Visit localhost:1234 in your browser

Static Build

  1. yarn build for a development build (with sourcemaps), yarn build:production for a production build
  2. Visit dist/ using an http server

Linting and Testing

  • yarn lint to run eslint
  • yarn test to run jest
  • yarn coverage to run code coverage check

Deploy to GH Pages

  1. yarn gh-deploy from the project root will install dependencies, build the static assets, and update and push to the gh-pages branch
  2. Visit https://adho.github.io/adho-status/ or https://status.adho.org/

Adding or Changing Service Tests

The items to be displayed here are listed in src/config.js