workers-comp

How long since the last workplace accident

npm install workers-comp
4 downloads in the last month

Worker-Comp

This project is a simple status board that displays the time since the last PagerDuty incident, somewhat in the style of a construction site board displaying the days since the last injury/accident.

Quick start

First, you'll need a PagerDuty account.

  1. Make a note of your subdomain
  2. Generate an API key at https://<subdomain>.pagerduty.com/api_keys

Install nodejs and the necessary dependencies:

$ npm install

Now you're ready to run:

$ export pagerduty_subdomain=$YOUR_SUBDOMAIN
$ export pagerduty_token=$YOUR_API_KEY
$ npm run-script start

Copyright 2013 Socrata, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

npm loves you