Workspace
The agency-workspace repo adds ./dev at the umbrella root. It fixes DOCKER_HOST on WSL (Docker Desktop bind-mount socket) and delegates stack commands to agency-server (Server).
Layout:
agency-workspace/
dev ← this script
agency-django/
agency-server/dev ← compose up/down/enter/logs
agency-ui/
Stack (delegates to agency-server/dev)
Command |
Action |
|---|---|
|
|
|
Stop stack |
|
Build and start |
|
List |
|
Shell in container (default: django) |
|
Follow logs |
|
Restart a service |
|
Publish SPA: build → collectstatic → restart django/asgi, then nginx |
|
Sphinx onepage ( |
|
Sphinx multi-page HTML → |
|
One plain-text dump for LLM paste |
See Server for container aliases and agency-server/dev commands.
In-container equivalents: bash run document-single / document / document-llm.
Tests (umbrella)
Command |
Action |
|---|---|
|
Backend pytest in |
|
|
|
vitest + typecheck + build |
|
Backend + frontend |
|
Redis/Channels health hints |
Details: Tests and CI.
WSL Docker
If docker info fails, ./dev sets DOCKER_HOST to a Docker Desktop bind-mount socket under /mnt/wsl/docker-desktop-bind-mounts/.
See .cursor/rules/15-docker-wsl.mdc in the workspace repo.