This repository contains the core plugins for Perses
Most if not all the plugins schemas rely on the common
CUE package of the perses/perses repo. To be able to evaluate the CUE model of a given plugin locally, you thus need to make this package available as en external CUE dependency for it. In the future this is something where you'd just have to run cue get
(in the same way as go get
for Golang libs), but for now you have to rely on an utility we provide through percli: percli plugin update
.
The instructions are for the Table
plugin, replace the name accordingly.
- Start development server of the plugin:
cd Table; npm run dev
- Update the Perses configuration
config.yaml
to use development server for this plugin:plugins: dev_environment: plugin: - name: Table disable_schema: false url: http://localhost:3005 absolute_path: /absolute/path/to/plugin/repository/Table
- Start Perses backend (in
perses
repository):./scripts/api_backend_dev.sh
- Start Perses frontend (in
perses
repository):cd ui; npm run start