From 0353be2be0b9f0452cc272a4b8fcca7960eca0f6 Mon Sep 17 00:00:00 2001 From: Alvar Penning Date: Mon, 3 Jun 2024 12:30:48 +0200 Subject: [PATCH] i'm going to squash anyway --- doc/02-Installation.md.d/From-Source.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 doc/02-Installation.md.d/From-Source.md diff --git a/doc/02-Installation.md.d/From-Source.md b/doc/02-Installation.md.d/From-Source.md new file mode 100644 index 000000000..2efccfd15 --- /dev/null +++ b/doc/02-Installation.md.d/From-Source.md @@ -0,0 +1,20 @@ +# Installing Icinga Notifications from Source + +To install Icinga Notifications and get started, you first need to clone this repository. +```bash +git clone https://github.com/Icinga/icinga-notifications.git +``` + +Then, you can build both the daemon and all channels with the following commands. +```bash +go build -o icinga-notifications ./cmd/icinga-notifications-daemon +go build -o /usr/libexec/icinga-notifications/channels ./cmd/channel/... +``` + +Finally, launch the daemon. +```bash +./icinga-notifications --config config.yml +``` + + + \ No newline at end of file