Update README.md

Add installation guide to the file.
This commit is contained in:
FinlandApollo 2024-08-11 15:46:20 +03:00 committed by GitHub
parent 3f531e59fc
commit db91078021
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: