Keep run as ignored local checkout
This commit is contained in:
@@ -8,17 +8,17 @@ Browser-side code can still expose platform APIs for run endpoints, jobs, logs,
|
||||
|
||||
## Local Development
|
||||
|
||||
Local debug workflows use `RUN_REPO_DIR` to find an external run checkout. The default points to `../run`, matching a sibling clone beside this repository:
|
||||
Local debug workflows use `RUN_REPO_DIR` to find an external run checkout. The default points to `./run`, an ignored nested checkout inside this repository:
|
||||
|
||||
```bash
|
||||
git clone git@git.npc0.com:admin343/run.git ../run
|
||||
git clone git@git.npc0.com:admin343/run.git run
|
||||
```
|
||||
|
||||
If `RUN_REPO_DIR` is missing or does not contain a run `go.mod`, local debug scripts fail with a clear message instead of assuming `browser/run`.
|
||||
If `RUN_REPO_DIR` is missing or does not contain a run `go.mod`, local debug scripts fail with a clear setup message.
|
||||
|
||||
## Docker Compose
|
||||
|
||||
The compose file keeps the run service for all-in-one local deployment, but its build context points at `${RUN_REPO_DIR:-../run}` and uses the external repository's `Dockerfile`.
|
||||
The compose file keeps the run service for all-in-one local deployment, but its build context points at `${RUN_REPO_DIR:-./run}` and uses the external repository's `Dockerfile`.
|
||||
|
||||
## Structure Validation
|
||||
|
||||
|
||||
Reference in New Issue
Block a user