Quickstart
This path is for developers evaluating or contributing to Rainrail. It keeps the first run focused on repository checks, docs preview, and the local surfaces that prove the event routing contracts still build.
1. Install the workspace
Section titled “1. Install the workspace”pnpm install --frozen-lockfileRainrail is a TypeScript monorepo. Root scripts orchestrate the CLI package, the product site, the docs site, and repository validation checks.
2. Run the baseline checks
Section titled “2. Run the baseline checks”pnpm testpnpm typecheckpnpm docs:checkdocs:check verifies Markdown links, contract drift, and docs TypeScript
examples. Run focused tests while developing, then run the full baseline before
opening a pull request.
3. Preview public docs
Section titled “3. Preview public docs”pnpm docs:devThe public docs app is a Starlight site for https://docs.rainrail.dev. Use it
for external developer navigation. The repository docs/ directory remains the
source spec library for detailed contract decisions.
4. Build deployable output
Section titled “4. Build deployable output”pnpm docs:buildpnpm builddocs:build emits apps/docs/dist for the rainrail-docs Cloudflare Pages
project. pnpm build verifies the broader workspace.
Next steps
Section titled “Next steps”- Read Event model before changing payload shapes.
- Use Add a source adapter when connecting a new provider signal.
- Check Cloudflare Worker before changing production intake behavior.