- Have Azure CLI available on PATH and logged in
- Note: Running this inside Docker is a bit tricky
- Run Submodules
git submodule update --recursive
- Add the following to a new line in grafana/go.mod:
replace github.com/grafana/grafana-azure-sdk-go => ../grafana-azure-sdk-go- This will allow building Grafana with a local checkout
- Build Grafana
- cd to grafana submodule
yarn install --immutablego mod tidy(may not build in next step, if so, probably just run this again)make run- Assuming all successful, will start running Grafana from port 3000, Ctrl+c out. Otherwise review errors
- Build Infinity Plugin
- update .tool-versions and swap to Node 16
yarn install --immutableyarn devgo mod tidymage -v
- Symlink the Plugin
- from root of repo
cd pluginsln -s ../grafana-infinity-datasource/dist ./grafana-infinity-datasource
- Start 'er up
- run start_server script from repo root (
./start_server) - for local dev, this is fine :)