Installation manual
This manual explains how to install, configure and run ATS-Copilot (backend + web interface), locally or behind a reverse proxy.
1. Prerequisites
- Python 3.11+ (backend)
- Node.js 18+ and npm (frontend)
- (Optional) Ollama for local AI enrichment (
http://127.0.0.1:11434)
2. Quick start (Windows)
From the project root:
.\start.ps1
The script starts the backend (:8000) and the frontend (:3000). Stop with:
.\stop.ps1
Open http://localhost:3000 in your browser.
3. Quick start (Linux)
Make the scripts executable once:
chmod +x start.sh stop.sh
Start in production mode (creates the venv, installs dependencies, builds Next.js, runs both services in the background with logs in logs/):
./start.sh
# Development mode (hot reload):
./start.sh --dev
Stop:
./stop.sh
4. Get the code and configure
git clone <repository-url> ats-copilot.com
cd ats-copilot.com
Backend dependencies:
cd backend
python -m venv .venv
# Windows: .venv\Scripts\pip install -r requirements.txt
# Linux: .venv/bin/pip install -r requirements.txt
Frontend dependencies:
cd frontend
npm install
5. Backend (FastAPI API)
cd backend
# Windows: .venv\Scripts\uvicorn app.main:app --host 0.0.0.0 --port 8000
# Linux: .venv/bin/uvicorn app.main:app --host 0.0.0.0 --port 8000
The API is available at http://localhost:8000 (Swagger docs at /docs). On first start the database schema is created automatically.
6. Web interface (Next.js)
In another terminal:
cd frontend
npm run dev
The interface is available at http://localhost:3000. The frontend talks to the backend via NEXT_PUBLIC_API_URL (default http://localhost:8000).
7. Environment variables
| Variable | Default | Description |
|---|---|---|
BACKEND_HOST | 0.0.0.0 | FastAPI bind address |
BACKEND_PORT | 8000 | FastAPI port |
FRONTEND_HOST | 0.0.0.0 | Next.js bind address |
FRONTEND_PORT | 3000 | Next.js port |
NEXT_PUBLIC_API_URL | http://localhost:8000 | Public URL of the FastAPI backend used by the browser |
CORS_ORIGINS | http://localhost:3000,https://ats-copilot.com,... | Comma-separated allowed CORS origins |
OLLAMA_BASE_URL | http://127.0.0.1:11434 | Local Ollama endpoint |
ATS_COPILOT_DATA_DIR | backend/data | Directory for SQLite DB & uploaded CVs |
8. Optional Ollama (local AI)
Install Ollama separately and pull a model. ATS-Copilot auto-detects running Ollama and lists available models. Without Ollama, deterministic scoring and trilingual NLP still work fully offline.
9. IBM Docling (first run)
On the very first PDF/OCR conversion, Docling downloads its layout/OCR weights locally to cache (~500 MB–1 GB). Subsequent conversions run 100% offline.
10. Running backend tests
cd backend
.venv/bin/pytest # Linux
.venv\Scripts\pytest # Windows
11. Stopping
# Windows
.\stop.ps1
# Linux
./stop.sh