BlockWarriors is a monorepo for the tournament platform, Convex backend, and Minecraft integrations used by the project.
apps/blockwarriors-next: Next.js 16 dashboard and public sitepackages/backend: Convex functions, HTTP routes, auth, schema, and seed helpersapps/blockwarriors-beacon: Minecraft/Paper plugin for match orchestrationapps/bot-orchestrator: Mineflayer bot control UI and socket serverpackages/shared: Shared TypeScript constants and types
- Install dependencies:
npm ci
- Copy the example env files for the runtimes you need:
apps/blockwarriors-next/.env.examplepackages/backend/.env.exampleapps/bot-orchestrator/.env.exampleapps/blockwarriors-beacon/.env.example.env.exampleif you want to use Beacon deploy automation
- Generate the Beacon game config from the shared JSON source:
npm run codegen:beacon
- Start the stack you need:
npm run dev
Use targeted commands if you only need part of the stack:
npm run dev:webnpm run dev:backendnpm run dev:bot-orchestrator
npm run lintnpm run typechecknpm run testnpm run buildnpm run deploy:beaconnpm run deploy:beacon:dry-runnpm run validatenpm run test:http
Day-to-day work flows through staging, not directly into main.
- Feature branches target
staging - Release PRs promote
stagingintomain