Skip to content

Commit a3013ee

Browse files
Merge pull request #442 from zhuje/perses_readme
NO-JIRA: Update README.md with how to development with local perses instance
2 parents 9a88ae8 + 9764748 commit a3013ee

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,3 +155,20 @@ $ make start-feature-console
155155
```
156156

157157
`make start-feature-backend` will inject the `perses-dashboards`, `incidents`, and `dev-config` features by default. Features such as `acm-alerting` which take in extra parameters will need to run the `make start-feature-backend` command with the appropriate environment variables, such as `MONITORING_PLUGIN_ALERTMANAGER`.
158+
159+
#### Local Development with Perses Proxy
160+
The bridge script `start-console.sh` is configured to proxy to a local Perses instance running at port `:8080`. To run the local Perses instance you will need to clone the [perses/perses](https://github.com/perses/perses) repository and follow the start up instructions in [ui/README.md](https://github.com/perses/perses/blob/63601751674403f626d1dea3dec168bdad0ef1c7/ui/README.md) :
161+
162+
```
163+
# Clone the perses/perses repo
164+
$ git clone https://github.com/perses/perses.git
165+
$ cd perses
166+
167+
# Follow the instructions in ui/README.md
168+
$ cd ui
169+
$ npm install
170+
$ npm run build
171+
$ ./scripts/api_backend_dev.sh
172+
173+
# Lastly navigate to http://localhost:8080/ to see Perses app running
174+
```

0 commit comments

Comments
 (0)