I would like to know what is the best way to install a plugin, I am developing, on another Grafana to test it out. The plugin is not complete so i don’t think i can “publish it” on grafana-plugin-repository like described here
https://grafana.com/tutorials/build-a-panel-plugin/#8 .
Is there a way to avoid installing nodejs and other dependencies just to test this plugin out?
Easiest way would probably be to run yarn build
(to create the dist
directory) and create a zip archive, and share that. The other person would then unzip it inside the plugin directory.
If your plugin is on GitHub, you can download the zip like this:
curl -L -o plugin.zip https://api.github.com/repos/marcusolsson/grafana-treemap-panel/zipball/master
This is essentially what grafana-cli
does.
Thank you this helped a lot. With it I was able to delete my module folder and it still worked.
1 Like