Skip to content

Setup Guide

Joshua Phu Kuhrau edited this page Jun 2, 2026 · 1 revision

Setup Guide

Voraussetzungen

  • Docker & Docker Compose
  • Git
  • Flutter SDK (für App-Entwicklung)
  • Python 3.11+ (für Backend-Entwicklung ohne Docker)

Lokales Setup (Docker)

# Repo clonen
git clone https://github.com/commanderphu/workmate_private.git
cd workmate_private

# Umgebungsvariablen konfigurieren
cp .env.example .env
# .env anpassen (DB-Passwort, API Keys, etc.)

# Container starten
docker compose up -d

# Datenbank initialisieren
docker compose exec backend alembic upgrade head

Die App ist dann erreichbar unter:

  • API: http://localhost:8000
  • API Docs: http://localhost:8000/api/v1/docs
  • Health: http://localhost:8000/health/ui

Umgebungsvariablen

Variable Beschreibung
DATABASE_URL PostgreSQL Connection String
REDIS_URL Redis Connection String
SECRET_KEY JWT Secret Key
ANTHROPIC_API_KEY Claude API Key
ENVIRONMENT development oder production
DEBUG true / false

Flutter App

cd frontend
flutter pub get
flutter run

Datenbank-Migrationen

# Neue Migration erstellen
docker compose exec backend alembic revision --autogenerate -m "beschreibung"

# Migration anwenden
docker compose exec backend alembic upgrade head

# Migration rückgängig machen
docker compose exec backend alembic downgrade -1

Integrationen | → API Reference

Clone this wiki locally