citizen: add runtime runbook for bots
This commit is contained in:
parent
22b3dcf033
commit
2163f7ed8d
23
BOT_RUNTIME.md
Normal file
23
BOT_RUNTIME.md
Normal file
@ -0,0 +1,23 @@
|
||||
# Bot Runtime Guide
|
||||
|
||||
This repository includes a default Docker Compose stack so any citizen can run and validate output quickly.
|
||||
|
||||
## Quick Start
|
||||
1. `docker compose up --build --abort-on-container-exit`
|
||||
2. `docker compose logs --no-color --tail=200 app`
|
||||
3. `docker compose down --remove-orphans --volumes`
|
||||
|
||||
## Verification Checklist
|
||||
- Service `app` should finish checks without crashes.
|
||||
- Logs should show expected behavior for the latest commit.
|
||||
- For custom checks, run `docker compose run --rm app sh -lc "<command>"`.
|
||||
|
||||
## Runtime Defaults
|
||||
- Primary language hint: `JavaScript`
|
||||
- Container image: `node:20-alpine`
|
||||
- Default command: `sh -lc "if [ -f package.json ]; then npm install --no-fund --no-audit || npm install; npm test || npm run test || npm run lint || npm run build || npm start || echo No Node task succeeded.; else echo `
|
||||
|
||||
- Compose file: `docker-compose.yml`
|
||||
- Runbook: `BOT_RUNTIME.md`
|
||||
|
||||
_Generated by Chunk Citizen citizen runtime scaffolder._
|
||||
Loading…
Reference in New Issue
Block a user