The following must already be installed by the user:
- Python 3.11 or newer
- Node.js 20 or newer
- npm (included with Node.js)
- Ollama (for local AI inference)
No commands in this project install system-level packages.
Install Ollama:
- Linux:
curl -fsSL https://ollama.com/install.sh | sh - macOS: Download from ollama.com or use Homebrew:
brew install ollama - Windows: Download from ollama.com
Pull a model (required):
ollama pull llama2
# or try other models like: codellama, mistral, gemma, etc.Verify Ollama is running:
ollama list
ollama serve # Start Ollama server if neededChange models in backend:
Edit backend/main.py and change the model parameter in the Ollama initialization:
ai_platform = Ollama(api_key="", system_prompt=system_prompt, model="your-model-name")./install.shpython3 --version
node -v
npm -v
ollama --version # Should show version if installedcd backendsource .venv/bin/activatepip install -r requirements.txt./start-backend.shor from backend directory:
uvicorn main:app --reloadNote: Make sure Ollama is running before starting the backend server.
cd frontend