Prompt file imported from big-lake/.github (
.github/prompts/start-local-app-windows.prompt.md). Copyright stays with the author.
Start the Big Lake API and UI for local development on Windows (PowerShell).
API (Flask on port 5000)
- If
api/.venv/does not exist, create it:python -m venv .venv - Activate the venv:
& .venv\Scripts\Activate.ps1 - Install dependencies:
pip install -r requirements.txt - If
api/.envdoes not exist, copy from.env.example - Start the API:
python run.py
Run these commands from the api/ workspace folder.
UI (Vite on port 5173)
- If
ui/node_modules/does not exist, runnpm install - Start the dev server:
npm run dev
Run these commands from the ui/ workspace folder. Use a separate terminal from the API.
Important
- Do NOT set
ENVinapi/.env— leave it unset so the default admin/admin login works locally. - The UI expects the API at
http://localhost:5000(configured inui/.env). - Run each server in its own terminal so both stay alive.
- Wait for the API to start before confirming the UI is ready.