Plugins connecting Bucket to Grafana
Enter folder grafana-source.
- Install dependencies
yarn install
- Build plugin in development mode or run in watch mode
yarn dev
or
yarn watch
Back in the root folder:
-
Copy development.env into .env and adjust as you want
-
run the 'development' compose file, directly taking the dist folder from your plugin (instead of building them)
docker-compose -f docker-compose-dev.yml up -V
On your local machine, you can check for each plugin whether the build goes smoothly
yarn build
Your deployment machine, copy development.env into .env and adjust for your deployment settings.
Build and run with docker-compose
docker-compose up -d