Skip to content

Commit

Permalink
docs(readme): document frontend dev mode setup (#608)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores authored Aug 26, 2024
1 parent 980bea8 commit 24458be
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,26 @@ This will run Cryostat as a local JVM process hooked up to its frontend, and req

> **_NOTE:_** Quarkus now ships with a Dev UI, which is available in dev mode only at http://localhost:8181/q/dev/.
### Run the application with dev mode frontend

You can run the server setup with a live coding frontend instance using:

`terminal 1`
```bash
$ ./smoktest.bash -t
```

`terminal 2`
```bash
$ cd /path/to/cryostat-web # this can be ./src/main/webui , or a separate clone of the cryostat-web repository
$ yarn yarn:frzinstall
$ yarn start:dev
```

This will run Cryostat, required companion services, and test applications in a podman/docker compose container setup. Changes to frontend sources in `/path/to/cryostat-web` will trigger automatic rebuilds and live-coding of the web UI only. This is often useful for frontend development compared to the previous dev mode setup, since it allows for the full suite of test applications to be deployed.

The Quarkus Dev UI is not available in this setup.

## RUN

### Local Smoketesting
Expand Down

0 comments on commit 24458be

Please sign in to comment.