From db9107802160e0ef81b9467e0cabc5483a319cd7 Mon Sep 17 00:00:00 2001 From: FinlandApollo <67058364+FinlandApollo@users.noreply.github.com> Date: Sun, 11 Aug 2024 15:46:20 +0300 Subject: [PATCH] Update README.md Add installation guide to the file. --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index c831cc7..7be80ce 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,18 @@ Command `apcupsd_exporter` provides a Prometheus exporter for the [apcupsd](http://www.apcupsd.org/) Network Information Server (NIS). MIT Licensed. +## Installation + +Make sure that Go package is installed to build this package +``` +sudo apt install golang +``` + +Move to `cmd/apcupsd_exporter` to build the file. +```go build``` + +Test by running command `./apcupsd_exporter` + ## Usage Available flags for `apcupsd_exporter` include: