| domain | product-code |
|---|---|
| type | tutorial |
| owner | <!-- team/role that owns onboarding for this project --> |
| last_reviewed |
This guide walks a new contributor from zero to a running local environment. It assumes no prior context — for a specific task you already know how to do (e.g. "add an endpoint"), see product-code/reference instead.
| Tool | Version | Install |
|---|---|---|
-
Clone the repository
git clone https://github.com/your-org/your-repo.git cd your-repo -
Activate the Git hooks (one-time, after cloning)
git config core.hooksPath .githooks
Details: team-process/how-to/activate-git-hooks.
-
Copy the environment file
cp .env.example .env
Open
.envand fill in the required values — see product-code/reference/environment-variables. -
Install dependencies
# Replace with your package manager / build tool # e.g. npm install / pip install -r requirements.txt / go mod download / mvn install
-
Start the development server
# Replace with your start command # e.g. npm run dev / python manage.py runserver / go run ./cmd/server
# Start development server
# Run tests
# Run linter
# Build for productionPort already in use
Find and stop the process occupying the port before starting the server.
Dependencies not installing
Make sure your runtime version matches the one listed in Prerequisites. Delete any lock files and retry a fresh install.
Tests fail locally but pass in CI (or vice versa)
Make sure your .env matches the values expected by the test suite, and reinstall dependencies from the lockfile to rule out local drift (e.g. npm ci / pip install -r requirements.txt --no-deps / go mod tidy).
Build fails with errors you didn't introduce
Pull the latest main and reinstall dependencies — a dependency may have been updated since your last build.
For anything else, open a Discussion.