This repository contains the BrakePoint backend (Django) and frontend (Next.js).
From the repository root, run:
powershell -ExecutionPolicy Bypass -File setup.ps1What setup does:
- Creates or reuses
.venv - Installs backend Python dependencies
- Installs root npm dependencies
- Installs frontend npm dependencies
- Applies Django migrations
npm run devThis starts both backend and frontend.
To pull latest changes and refresh dependencies:
powershell -ExecutionPolicy Bypass -File setup.ps1 -UpdateUse these only when needed:
-SkipBackend-SkipFrontend-SkipMigrations
Example:
powershell -ExecutionPolicy Bypass -File setup.ps1 -Update -SkipMigrationsCreate these files before running the full app:
backend/.envfrontend/brakepoint_app/.env.development
At minimum, frontend usually needs NEXT_PUBLIC_API_URL.
- Python not found:
- Install Python 3 from https://www.python.org/downloads/
- npm not found:
- Install Node.js LTS from https://nodejs.org/
- PowerShell script execution blocked:
- Run in current shell only:
Set-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSignedThen rerun setup.