Add instruction how to run devenv

This commit is contained in:
Alexander Zobnin
2022-05-04 14:13:09 +03:00
parent 8e86cc9b6a
commit 1a9e241749

View File

@@ -1 +1,19 @@
# Development environment for the plugin # 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
```