docs: update local agents notes and remove stale image

This commit is contained in:
2026-02-21 11:19:04 -03:00
parent d4298c337f
commit 17dccbbe20
2 changed files with 8 additions and 2 deletions

View File

@@ -12,17 +12,23 @@
- Technical docs live in `doc/` with `doc/README.md` as the index. - Technical docs live in `doc/` with `doc/README.md` as the index.
## Working Commands ## Working Commands
### Docker
If required to run the docker image, follow these steps:
- Init VM: `multipass shell dcm-dev`
- Move to VM WD: `cd ~/dcm`
- Start full stack: `docker compose up --build -d` - Start full stack: `docker compose up --build -d`
- Stop stack: `docker compose down` - Stop stack: `docker compose down`
- Tail logs: `docker compose logs -f` - Tail logs: `docker compose logs -f`
### Local NPM Build
- Frontend dev only: `cd frontend && npm run dev` - Frontend dev only: `cd frontend && npm run dev`
- Frontend production build: `cd frontend && npm run build` - Frontend production build: `cd frontend && npm run build`
## Validation ## Validation
- No automated test suite is currently committed. - No automated test suite is currently committed.
- Manual checks for code changes: `GET /api/v1/health`, upload + processing flow, search, document preview/download, and clean `docker compose logs -f` output for `api` and `worker`. - Manual checks for code changes inside VM: `GET /api/v1/health`, upload + processing flow, search, document preview/download, and clean `docker compose logs -f` output for `api` and `worker`.
## If You Add Tests ## If You Add Tests
- Backend: place near changed module, use `test_*.py`. - Backend: place near changed module, use `test_*.py`.
- Frontend: use `*.test.tsx`. - Frontend: use `*.test.tsx`.
- Update `README.md` and `doc/README.md` with test run commands.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 108 KiB