Skip to content

Commit b8ab299

Browse files
authored
Readme for web ui
1 parent b0cdcab commit b8ab299

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

web/app/README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
1-
# Diagnostic web ui
1+
# Diagnostic Web UI
2+
3+
This is a basic diagnostic web UI. It's written as a small React application, bootstrapped with create-react-app, which is then embedded in its compiled form with Go `embed` into the binary.
4+
5+
## Testing changes
6+
7+
`npm start` to start the development server, and then run a go-workflows sample that hosts the web UI. The `proxy` configuration in `package.json` should allow you to access the web ui from the auto-reloading development server, and serve the API via your Go binary.
8+
9+
## Checking in changes
10+
11+
`npm run build` to update the compiled application in `./build`. The build output has to be committed to the repository, it is embedded by the Go API.

0 commit comments

Comments
 (0)