| Tool | Version | Purpose |
|---|---|---|
| Python | 3.10+ | Backend server |
| Node.js | 18+ | Frontend dev server |
| Git | 2.x | Cloning repositories |
git clone https://github.com/codeatlas/codeatlas.git
cd codeatlas
cd backend
python -m venv .venv
Activate the virtual environment:
=== “Linux / macOS”
```bash
source .venv/bin/activate
```
=== “Windows”
```bash
.venv\Scripts\activate
```
Install dependencies:
pip install -r requirements.txt
python -m uvicorn app.main:app --reload
Visit http://localhost:8000/docs to see the auto-generated API documentation.
cd frontend
npm install
npm run dev
Visit http://localhost:5173 to open CodeAtlas.
uvicorn: command not foundUse python -m uvicorn instead. This happens when pip installs scripts to a directory not on your system PATH.
CodeAtlas requires tree-sitter <0.23 for compatibility with tree-sitter-languages. If you see TypeError: __init__() takes exactly 1 argument, run:
pip install "tree-sitter>=0.21,<0.23"
Make sure the backend is running on port 8000. The Vite dev server proxies /api requests to http://localhost:8000 automatically.