Before running this project locally, ensure the following tools are installed on your system.
Required to clone the repository and switch between tutorial branches.
Installation:
- Linux:
sudo apt install git(Ubuntu/Debian) - macOS:
brew install gitor download from git-scm.com - Windows: Download from git-scm.com or use
winget install Git.Git
Verify: git --version
We use UV for fast Python environment and dependency management. UV automatically handles Python installation and virtual environments.
Installation:
# macOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows (PowerShell)
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"Verify: uv --version
Required to connect to PostgreSQL databases.
macOS:
brew install postgresqlLinux (Ubuntu/Debian):
sudo apt install postgresql-clientWindows:
- Download from postgresql.org/download
Verify: psql --version
Used for containerized deployment and running PostgreSQL locally during development.
Installation:
- Linux: Follow official Docker installation guide
- macOS/Windows: Download Docker Desktop from docker.com
Verify: docker --version
Use any Python-compatible code editor:
- VS Code - Popular, free, extensive Python support
- Cursor - AI-native IDE based on VS Code (recommended for AI development)
- WindSurf - Another AI-native IDE based on VS Code (recommended for AI development)
After installing the prerequisites, verify your setup:
# Check all tools
git --version
uv --version
psql --version
docker --version # (optional)UV not found after installation:
- Restart your terminal
- Check if UV is in your PATH:
echo $PATH(Linux/macOS) or$env:PATH(Windows)
PostgreSQL libraries not found:
- Ensure development headers are installed (
libpq-devon Linux) - On Windows, make sure PostgreSQL bin directory is in PATH
Docker permission issues (Linux):
sudo usermod -aG docker $USER
# Log out and back inReady to proceed? Return to the README for project setup!