From d31bd6ec76c82d225a1a829d78d0f9ae5d413d73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89mile=20R=C3=A9?= Date: Tue, 28 Apr 2026 19:24:24 +0400 Subject: [PATCH] Use make sandbox-* targets in sandbox doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Émile Ré --- contrib/claude/sandbox.md | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/contrib/claude/sandbox.md b/contrib/claude/sandbox.md index da24e7a27..0c4b89ea1 100644 --- a/contrib/claude/sandbox.md +++ b/contrib/claude/sandbox.md @@ -12,27 +12,27 @@ Use a sandbox when you need to: ```bash # Create a sandbox (first time only) -./contrib/lima/sandbox.sh create +make sandbox-create # Start an existing sandbox -./contrib/lima/sandbox.sh start +make sandbox-start # Get the VM IP and service URLs -./contrib/lima/sandbox.sh status +make sandbox-status # Interactive shell -./contrib/lima/sandbox.sh ssh +make sandbox-ssh # Stop (shutdown — preserves disk and Docker images, but running processes are lost) -./contrib/lima/sandbox.sh stop +make sandbox-stop # Delete entirely -./contrib/lima/sandbox.sh delete +make sandbox-delete ``` ## Accessing services -After `sandbox.sh status`, use the VM IP to access services from the host: +After `make sandbox-status`, use the VM IP to access services from the host: | Service | URL | | ---------- | --------------------------- | @@ -64,7 +64,7 @@ AUTH_OIDC_CLIENT_ID=my-client-id AUTH_OIDC_CLIENT_SECRET=s3cret ``` -This file is sourced during provisioning before `probod-bootstrap` runs. Any variable set here overrides the defaults. The sandbox must be recreated (`delete` + `create`) for changes to take effect. +This file is sourced during provisioning before `probod-bootstrap` runs. Any variable set here overrides the defaults. The sandbox must be recreated (`sandbox-delete` + `sandbox-create`) for changes to take effect. ## Systemd services @@ -90,11 +90,6 @@ Manage them with `systemctl`: ## Common workflows -**Start the app:** -```bash -./contrib/lima/sandbox.sh exec -- sudo systemctl start probod probo-console probo-trust -``` - **Run tests:** ```bash ./contrib/lima/sandbox.sh exec -- make test