Skip to main content
This page lists common Makefile targets from the repo root. Everything meaningful runs inside Docker via make (see development-workflow.mdc).

Start / stop

CommandPurpose
make startStart the stack (docker compose up)
make fresh-startRebuild and start clean (docker compose up --build --force-recreate --remove-orphans -V)
make killStop containers
make clean-dockerAggressive Docker cleanup (destructive — can drop volumes)

Stripe

CommandPurpose
make stripe-loginLog in the containerized Stripe CLI when the Makefile prompts you (first start or expired auth)
make stripe cmd=...Run Stripe CLI in container

Database

CommandPurpose
make migrate-upRun migrations in container
make seed-upRun seeds in container

Dependencies & build

CommandPurpose
make pnpm-installInstall all workspace deps (writes to host node_modules for IDE type resolution)
make build module=<pkg>Build one package
make build-allBuild workspace packages

Codegen & quality

CommandPurpose
make gql-codegenGraphQL codegen (stack should be running)
make codegen-verifyCI-style codegen in one-off container
make test module=<pkg> [path=...]Run tests in container
make lint module=<pkg> [path=...]Lint in container

Deploy (Railway)

CommandPurpose
make deploy ENV=staging [SHA=...]Deploy via Railway
make deploy-stagingDeploy latest to staging
make deploy-productionDeploy latest to production
For the full list, run:
make help

What’s next?

  • Architecture overview — the full system map and how each layer connects.
  • Tooling system — how the tools object is constructed and how loaders work.
  • Tooling — provider-specific setup for logger, queue, mailer, metrics, and more.
  • Updating Refract — pull upstream improvements into your project.