Add host-side prototype smoke test command
This commit is contained in:
parent
604ce97e0d
commit
bc1f9c59c2
@ -38,6 +38,7 @@ For a single-host prototype, use Docker Compose with the repo root [`docker-comp
|
||||
```bash
|
||||
cp .env.example .env
|
||||
./scripts/prototype-up.sh
|
||||
pnpm prototype:self-test
|
||||
```
|
||||
|
||||
See [docs/PROTOTYPE_DEPLOYMENT.md](docs/PROTOTYPE_DEPLOYMENT.md) for the required environment variables and day-to-day commands.
|
||||
|
||||
@ -62,10 +62,13 @@ docker compose logs -f mcp-server
|
||||
docker compose logs -f cosmos-emulator
|
||||
docker compose logs -f azurite
|
||||
docker compose logs -f mailpit
|
||||
pnpm prototype:self-test
|
||||
./scripts/prototype-self-test.sh
|
||||
docker compose down
|
||||
```
|
||||
|
||||
`pnpm prototype:self-test` is the stable host-side smoke-test entrypoint. It runs the same end-to-end check as the underlying shell script, but gives ops a single repo-level command to remember.
|
||||
|
||||
The Cosmos Data Explorer is exposed on `http://localhost:1234`.
|
||||
Azurite Blob Storage is exposed on `http://localhost:10000`.
|
||||
Mailpit SMTP listens on `localhost:1025` and the Mailpit inbox UI is exposed on `http://localhost:8025`.
|
||||
|
||||
@ -17,6 +17,7 @@
|
||||
"format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,json,md,yml,yaml}\"",
|
||||
"audit": "pnpm -r audit --audit-level moderate",
|
||||
"clean": "pnpm -r exec rm -rf dist",
|
||||
"prototype:self-test": "./scripts/prototype-self-test.sh",
|
||||
"prepare": "husky install"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user