Remove run source tree from browser repo
This commit is contained in:
@@ -6,7 +6,7 @@ The local debug workspace runs the real platform API, run worker, platform_web c
|
||||
|
||||
- Platform listens on `http://127.0.0.1:18080` by default.
|
||||
- platform_web listens on `http://127.0.0.1:5173` by default and proxies `/api/v1` plus `/healthz` to platform.
|
||||
- Run worker registers as `run-local-debug`.
|
||||
- Run worker is loaded from `RUN_REPO_DIR`, defaulting to a sibling `../run` checkout, and registers as `run-local-debug`.
|
||||
- Disposable state lives under `.local-debug/`.
|
||||
- Logs live under `.local-debug/logs/`.
|
||||
- PIDs live under `.local-debug/pids/`.
|
||||
@@ -18,6 +18,7 @@ The workflow does not require Docker-only infrastructure, external cloud service
|
||||
## Start
|
||||
|
||||
```bash
|
||||
git clone git@git.npc0.com:admin343/run.git ../run # once, if the sibling checkout is missing
|
||||
scripts/local-debug-start.sh
|
||||
```
|
||||
|
||||
@@ -48,6 +49,7 @@ Key platform variables:
|
||||
|
||||
Key run variables:
|
||||
|
||||
- `RUN_REPO_DIR=../run`
|
||||
- `RUN_MODE=worker`
|
||||
- `RUN_PLATFORM_URL=http://127.0.0.1:18080`
|
||||
- `RUN_ENDPOINT_ID=run-local-debug`
|
||||
@@ -159,8 +161,8 @@ The reset script refuses unexpected roots. It allows only:
|
||||
The start script wraps these commands with the local debug environment:
|
||||
|
||||
```bash
|
||||
go run ./platform/cmd/platform
|
||||
go run ./run/cmd/run
|
||||
(cd platform && go run ./cmd/platform)
|
||||
(cd "${RUN_REPO_DIR:-../run}" && go run ./cmd/run)
|
||||
npm --prefix platform_web run dev -- --port 5173
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user