Makefile Commands

Primary developer command interface. All commands run from the renewa-one/ directory.

Source: renewa-one/Makefile

Core Commands

CommandPurpose
make setupAllocate ports, create env files
make devStart Docker stack
make dev-initSetup + start (use on first run)
make dev-cleanStop + remove containers/volumes

Quality Checks

CommandPurpose
make typecheckTypeScript check (backend + frontend)
make lintESLint (backend + frontend)
make testFull test suite (pre-push gate, not pre-commit)
make test-backendBackend tests only
make test-frontendFrontend tests only

make test is a pre-push gate. Do not run on every change — the full suite runs automatically on git push. See Git Workflow.

Database Operations

CommandPurpose
make db-generate NAME=descGenerate migration from schema changes
make db-validateValidate migration integrity (Atlas)
make db-migrateApply pending migrations
make db-seedRun seed data
make db-studioOpen Drizzle Studio UI

Container Management

CommandPurpose
make statusShow container status
make start / make stopStart/stop containers
make logsView container logs
make shell-backendShell into backend container
make shell-frontendShell into frontend container
make shell-dbShell into database container
make urlsShow access URLs for this instance

Production

CommandPurpose
make prod-buildProduction Docker build
make prod-testTest production build

Environment Management

CommandPurpose
make env-pullPull env from Bitwarden
make env-pushPush env to Bitwarden
make env-checkVerify env completeness

SSO

CommandPurpose
make sso-registerAzure Entra ID registration

See Also