Update README.md

This commit is contained in:
spatterlight 2023-05-11 20:21:06 +00:00 committed by GitHub
parent aa0a25e8b0
commit fd70866be0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,8 @@
This bot uses the webhook functionality of monitoring/alerting solutions like Grafana or Alertmanager to forward alerts to matrix rooms. This bot uses the webhook functionality of monitoring/alerting solutions like Grafana or Alertmanager to forward alerts to matrix rooms.
This means that you no longer have to use E-Mail or Slack to receive alerts. This means that you no longer have to use E-Mail or Slack to receive alerts.
## Getting Started
You can either [invite](#invite-the-official-instance) an official instance of the bot, or [self-host](#self-host-an-instance) it on your own matrix server. You can either [invite](#invite-the-official-instance) an official instance of the bot, or [self-host](#self-host-an-instance) it on your own matrix server.
## Invite the Official Instance ## Invite the Official Instance
@ -23,12 +25,22 @@ You can either [invite](#invite-the-official-instance) an official instance of t
**Build the Bot** **Build the Bot**
Clone this repository and build it into a maubot plugin file (.mbp). Navigate to the Maubot Administration Interface and upload the .mpb file. The bot is built using the maubot command line tool `mbc`, you can either build it locally or remotely.
Build it locally, and afterwards navigate to the Maubot Administration Interface and upload the .mpb file.
```shell
pip install maubot
git clone https://github.com/moan0s/alertbot
cd alertbot
mbc build
```
Build it remotely, and upload the the build simultaneously.
```shell ```shell
git clone https://github.com/moan0s/alertbot git clone https://github.com/moan0s/alertbot
cd alertbot cd alertbot
pip install maubot mbc login
mbc build mbc build -u
``` ```
**Configure the Bot** **Configure the Bot**