From 1a9e241749bd04470edc0422a91f19fa63370ec8 Mon Sep 17 00:00:00 2001 From: Alexander Zobnin Date: Wed, 4 May 2022 14:13:09 +0300 Subject: [PATCH] Add instruction how to run devenv --- devenv/README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/devenv/README.md b/devenv/README.md index 250896b..a4e21ce 100644 --- a/devenv/README.md +++ b/devenv/README.md @@ -1 +1,19 @@ # Development environment for the plugin + +This docker environments contain preconfigured Zabbix instance with several monitored hosts and preconfigured Grafana with added data source and dashboards for testing. Environment uses plugin built +from sources, so in order to start environment, run commands from plugin root directory: + +```shell +# Build plugin +make dist + +# Test plugin with Zabbix 6.0 +cd devenv/zabbix60 +docker-compose up -d +``` + +If you want to edit sources, do it, rebuild plugin and then restart grafana container: + +```shell +docker-compose restart grafana +```