feat: github actions to build and publish

- add templates for issues and pull request
- small cleanup in README
This commit is contained in:
Ivan Mikheykin
2021-02-17 12:25:50 +03:00
parent b25f376f4e
commit bd1c7004b5
14 changed files with 331 additions and 92 deletions
+16
View File
@@ -0,0 +1,16 @@
# Development
To test and improve the plugin you can run local Grafana instance in Docker container:
```
git clone https://github.com/flant/grafana-statusmap.git
cd grafana-statusmap
docker run --rm -it -v $PWD:/var/lib/grafana/plugins/flant-statusmap-panel \
-p 3000:3000 --name grafana.docker \
--env=GF_USERS_DEFAULT_THEME=light \
grafana/grafana:7.3.4
```
The `-v` flag exposes plugin directory from your machine to Grafana container. Now run `yarn watch` to compile `dist` directory and follow changes in src directory.