Skip to main content

Quick Start

Get OfficePlane running locally in under 5 minutes using Docker.

Prerequisites

1. Clone and Configure

git clone https://github.com/officeplane/officeplane
cd officeplane

Create a .env file in the project root:

GOOGLE_API_KEY=your-gemini-api-key
OPENAI_API_KEY=your-openai-api-key # optional, for content generation

2. Start Services

docker compose up -d

This starts four services:

ServiceURLPurpose
UIhttp://localhost:3000Next.js frontend dashboard
APIhttp://localhost:8001FastAPI backend
PostgreSQLlocalhost:5433Document storage + pgvector
Redislocalhost:6379Task queue + pub/sub

3. Install Pillow (first time only)

docker exec officeplane-api pip install Pillow

4. Verify

# Check API health
curl http://localhost:8001/health

# Open the dashboard
open http://localhost:3000

5. Upload Your First Document

curl -X POST http://localhost:8001/api/documents/upload \
-F "file=@path/to/your-document.docx"

Or use the Upload button in the UI dashboard.

The ingestion pipeline will:

  1. Detect the file format (DOCX/PDF)
  2. Convert to PDF if needed (via LibreOffice)
  3. Render each page to an image
  4. Send images to Gemini vision for structure extraction
  5. Parse the result into a document hierarchy
  6. Store everything in PostgreSQL with vector embeddings

What's Next