Back to tutorials
Documentation

Getting Started with DevFlow

Get up and running with the AI-powered SDLC accelerator in 5 minutes.

1. Start infrastructure

docker-compose up -d

2. Initialize the database

# Linux / macOS / Git Bash:
docker exec -i devflow-postgres psql -U devflow -d devflow < backend/database/schema.sql

# Windows PowerShell:
Get-Content backend\database\schema.sql | docker exec -i devflow-postgres psql -U devflow -d devflow

3. Configure the environment

cd backend
# Create a .env file with the necessary configuration
# DATABASE_URL, CHROMADB_URL, OPENAI_API_KEY, etc.

4. Install dependencies

# Backend
cd backend
pip install -r requirements.txt

# Frontend
cd ../frontend
npm install

5. Start services

# Terminal 1 - Backend
cd backend
uvicorn server:app --reload --port 8000

# Terminal 2 - Celery
cd backend
celery -A orchestrator.celery_tasks worker --loglevel=info

# Terminal 3 - Frontend
cd frontend
npm run dev

Using Ollama (free, local)

# Pull models
ollama pull llama3:70b
ollama pull nomic-embed-text

# Update backend/.env
EMBEDDING_PROVIDER=ollama
EMBEDDING_MODEL=nomic-embed-text

Need a hand?

We'll deploy it with you