| name | start-dev |
| description | Start the local Docker development environment, opening Docker if needed, and open the app in browser |
| allowed-tools | Bash(docker:*), Bash(open:*) |
Start the local development environment:
-
Check if Docker is running:
docker info > /dev/null 2>&1
-
If Docker is not running, open it and wait:
open -a Docker
- Poll
docker info every 2 seconds until it succeeds (max 30 seconds)
-
Build and start the services:
docker compose build
docker compose up -d
-
Wait for services to be ready (3-5 seconds)
-
Open the app in browser:
open http://localhost:8080
-
Report status:
docker compose ps