Makefile Commands
Primary developer command interface. All commands run from the renewa-one/ directory.
Source: renewa-one/Makefile
Core Commands
| Command | Purpose |
|---|
make setup | Allocate ports, create env files |
make dev | Start Docker stack |
make dev-init | Setup + start (use on first run) |
make dev-clean | Stop + remove containers/volumes |
Quality Checks
| Command | Purpose |
|---|
make typecheck | TypeScript check (backend + frontend) |
make lint | ESLint (backend + frontend) |
make test | Full test suite (pre-push gate, not pre-commit) |
make test-backend | Backend tests only |
make test-frontend | Frontend 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
| Command | Purpose |
|---|
make db-generate NAME=desc | Generate migration from schema changes |
make db-validate | Validate migration integrity (Atlas) |
make db-migrate | Apply pending migrations |
make db-seed | Run seed data |
make db-studio | Open Drizzle Studio UI |
Container Management
| Command | Purpose |
|---|
make status | Show container status |
make start / make stop | Start/stop containers |
make logs | View container logs |
make shell-backend | Shell into backend container |
make shell-frontend | Shell into frontend container |
make shell-db | Shell into database container |
make urls | Show access URLs for this instance |
Production
| Command | Purpose |
|---|
make prod-build | Production Docker build |
make prod-test | Test production build |
Environment Management
| Command | Purpose |
|---|
make env-pull | Pull env from Bitwarden |
make env-push | Push env to Bitwarden |
make env-check | Verify env completeness |
SSO
| Command | Purpose |
|---|
make sso-register | Azure Entra ID registration |
See Also