This repository contains the core plugins for Perses
Development
The instructions are for the Table plugin, replace the name accordingly.
- As a pre-requisite,
get-schemas-deps.gorelies onperclito be a part of your $PATH variable.- Build the
persesproject. This will generate thepercliin 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.yamlto 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
persesrepository):./scripts/api_backend_dev.sh - Start Perses frontend (in
persesrepository):cd ui; npm run start