Update README.md

This commit is contained in:
Arseniy Kuznetsov
2022-10-16 12:41:57 +01:00
committed by GitHub
parent e0c2efe241
commit 24b5c1a367

View File

@@ -37,14 +37,14 @@ For effortless visualization of the RouterOS metrics exported to Prometheus, MKT
## Getting started ## Getting started
After installing MKTXP, you need to edit its main configuration file. Theeasiest way to do it is via running: After installing MKTXP, you need to edit its main configuration file. The easiest way to do it is via running:
(for Docker, just replace `mktxp` with `docker run -v mktxp:/home/mktxp/mktxp/ -it --rm ghcr.io/akpw/mktxp:latest`)
```bash ```bash
mktxp edit mktxp edit
``` ```
(for Docker, just replace `mktxp` with `docker run -v mktxp:/home/mktxp/mktxp/ -it --rm ghcr.io/akpw/mktxp:latest`)
This opens the config file in your default system editor. \ This opens the config file in your default system editor. \
In case you prefer a different editor, just run the ```edit``` command with its optional `-ed` parameter. \ In case you prefer a different editor, just run the ```edit``` command with its optional `-ed` parameter. \
For example, to explicitly open the MKTXP config in nano: For example, to explicitly open the MKTXP config in nano: