Files
Emailsorter/docs/deployment/README.md

1.8 KiB

Deployment-Dokumentation

Diese Dokumentation beschreibt alle Aspekte des Deployments für E-Mail-Sorter.

📚 Inhaltsverzeichnis

Automatisches Deployment

Manuelles Deployment

🚀 Schnellstart

Für automatisches Deployment siehe Webhook Quick Start.

📋 Übersicht

Automatisches Deployment (Empfohlen)

  1. Gitea Webhook einrichten → Siehe GITEA_WEBHOOK_SETUP.md
  2. Bei jedem Push wird automatisch deployed
  3. Keine manuellen Schritte nötig

Manuelles Deployment

  1. Frontend bauen: cd client && npm run build
  2. Dateien hochladen auf Server
  3. Backend neustarten (falls nötig)

Siehe DEPLOYMENT_INSTRUCTIONS.md für Details.

🔧 Konfiguration

Alle Deployment-Konfigurationen finden sich in server/.env:

# Webhook-Konfiguration
GITEA_WEBHOOK_SECRET=...
GITEA_WEBHOOK_AUTH_TOKEN=...

# Server-Deployment
DEPLOY_SERVER_HOST=91.99.156.85
DEPLOY_SERVER_USER=root
DEPLOY_SERVER_PATH=/var/www/emailsorter
USE_PM2=true

📞 Support

Bei Problemen:

  1. Prüfe die Server-Logs
  2. Siehe Production Fixes
  3. Prüfe Webhook Delivery Logs in Gitea