netops-slackbot/README.md

17 строки
541 B
Markdown
Исходник Постоянная ссылка Обычный вид История

2018-10-11 02:02:57 +03:00
# netops-slackbot
This code is loosely based on https://github.com/mattmakai/slack-starterbot and
code the Mozilla Operations Center was already using to interact with
PagerDuty.
To install:
* copy `config.yml.dist` to `config.yml`
* edit `config.yml` to suit. At a minimum you need:
2018-10-11 22:42:46 +03:00
* your Slack API key
* your PagerDuty API key
* the schedule ID and escalation policy ID that you wish to grab the oncall from (you need both for it to be accurate)
* `virtualenv env`
* `source env/bin/activate`
* `pip install -r requirements.txt`