Mercurial
diff hg-web/README.md @ 222:a8d6435dc021 hg-web
[hg-web] Run local stack through Bazel
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Sun, 02 Aug 2026 09:07:36 -0700 |
| parents | ce7f4400c2de |
| children | 0e7b9464248d |
line wrap: on
line diff
--- a/hg-web/README.md Sun Aug 02 09:01:24 2026 -0700 +++ b/hg-web/README.md Sun Aug 02 09:07:36 2026 -0700 @@ -173,18 +173,14 @@ bazel test //seobeo/tests:all ``` -Run the Mercurial backend: +Build and run the complete local stack with one Bazel command: ```bash -hg serve -a 127.0.0.1 -p 4444 +bazel run //hg-web:dev ``` -Run the deployable bundle from its own directory so the static root resolves: - -```bash -cd bazel-bin/hg-web/hg_web_server_bundle -./hg_web_server -``` +This starts `hg serve` on `127.0.0.1:4444` and `hg_web_server` on port `6970`. +Stopping the Bazel target stops both child processes. The bundle contains `hg_web_server` and `hg-web/src/`, including generated `page.js`, markdown WASM, highlight.js, styles, and image assets.