This repository contains the core plugins for Perses
The instructions are for the Table
plugin, replace the name accordingly.
- As a pre-requisite,
get-schemas-deps.go
relies onpercli
to be a part of your $PATH variable.- Build the
perses
project. This will generate thepercli
in the bin directory of the project. - Add
/absolute/path/to/percli/
to your $PATH variable.
- Build the
- Install Cue deps with
go run ./scripts/get-schemas-deps/get-schemas-deps.go
- Start development server of the plugin:
cd Table; npm run dev
- Update the Perses configuration
config.yaml
to use development server for this plugin:plugin: dev_environment: plugins: - 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