Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 641 Bytes

DEVELOPMENT.md

File metadata and controls

27 lines (19 loc) · 641 Bytes

Developing

The easiest way to work on this datasource is by using docker compose approach. First, run the connector:

yarn dev

And then use another terminal to run the docker

yarn server

Alternatively, you to create a symbolic link in data/plugins that points to this directory and run Grafana instance separately.

cd /path/to/grafana/data/plugins
ln -s /path/to/cognite-grafana-datasource cognitedata-datasource

Building

yarn followed by yarn build should work on systems with a shell.

For debugging and development, use yarn dev, and for testing use yarn test.