tencent cloud

Local Development
Last updated: 2024-01-27 17:45:42
Local Development
Last updated: 2024-01-27 17:45:42

Development Steps

1. Prepare the environment.
Magefile >= 1.11
Go >=1.16
Node.js >= 14
2. Fork the project and clone it to the local system:
$ git clone https://github.com/${your-git-username}/tencentcloud-monitor-grafana-app.git
3. Install dependencies:
$ npm install
$ go mod vendor
4. Start the frontend development environment:
$ npm run watch
5. Start the backend development environment:
$ mage -v
6. Run the following in the CLI:
$ docker-compose up
Then visit https://localhost:3000.
7. After the development is completed, use a pull request to submit the code to request a merge.

Running on Local Grafana

You can also clone this project to the local Grafana plugin directory and restart the local Grafana. Please make sure that the version of the local Grafana is above 7.0.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback