sourcekeeper_42-contract-lab/BOT_RUNTIME.md

962 B

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.