kenso war das

This commit is contained in:
2026-02-03 23:27:25 +01:00
parent 6bf3c603d8
commit ef2faa21fd
73 changed files with 8416 additions and 257 deletions

View File

@@ -1,5 +1,5 @@
# ═══════════════════════════════════════════════════════════════════════════
# EmailSorter - Appwrite CORS Platform Setup (Vollautomatisch via API)
# MailFlow - Appwrite CORS Platform Setup (Vollautomatisch via API)
# ═══════════════════════════════════════════════════════════════════════════
# Dieses Script versucht, die Platform automatisch über die Appwrite API
# hinzuzufügen. Falls der API Key nicht die richtigen Scopes hat, wird

View File

@@ -1,5 +1,5 @@
# ═══════════════════════════════════════════════════════════════════════════
# EmailSorter - Appwrite CORS Platform Setup (Automatisch)
# MailFlow - Appwrite CORS Platform Setup (Automatisch)
# ═══════════════════════════════════════════════════════════════════════════
# Dieses Script fügt automatisch die Production-Platform zu Appwrite hinzu,
# um CORS-Fehler zu beheben.

View File

@@ -1,5 +1,5 @@
# ═══════════════════════════════════════════════════════════════════════════
# EmailSorter - Appwrite Setup Script
# MailFlow - Appwrite Setup Script
# ═══════════════════════════════════════════════════════════════════════════
#
# ⚠️ WICHTIG: Diese Datei ist VERALTET!
@@ -33,7 +33,7 @@ if (-not (Test-Path ".\server\.env")) {
Write-Host " APPWRITE_ENDPOINT=https://appwrite.webklar.com/v1" -ForegroundColor Gray
Write-Host " APPWRITE_PROJECT_ID=deine_projekt_id" -ForegroundColor Gray
Write-Host " APPWRITE_API_KEY=dein_api_key" -ForegroundColor Gray
Write-Host " APPWRITE_DATABASE_ID=emailsorter" -ForegroundColor Gray
Write-Host " APPWRITE_DATABASE_ID=mailflow" -ForegroundColor Gray
Write-Host "`nSiehe server/env.example für ein Template." -ForegroundColor Cyan
exit 1
}
@@ -54,7 +54,7 @@ if (-not (Test-Path "package.json")) {
exit 1
}
Write-Host "`n=== EmailSorter Bootstrap ===" -ForegroundColor Cyan
Write-Host "`n=== MailFlow Bootstrap ===" -ForegroundColor Cyan
Write-Host "Verwende bootstrap-v2.mjs (aktuelle Version)" -ForegroundColor Green
Write-Host ""

View File

@@ -1,8 +1,8 @@
# EmailSorter Production Setup Script
# MailFlow Production Setup Script
# Dieses Script hilft beim Setup für Production
Write-Host "========================================" -ForegroundColor Cyan
Write-Host "EmailSorter Production Setup" -ForegroundColor Cyan
Write-Host "MailFlow Production Setup" -ForegroundColor Cyan
Write-Host "========================================" -ForegroundColor Cyan
Write-Host ""
@@ -59,18 +59,18 @@ if (Test-Path $serverPath) {
# Prüfe ob Server bereits läuft
$pm2List = pm2 list 2>&1
if ($pm2List -match "emailsorter-api") {
if ($pm2List -match "mailflow-api") {
Write-Host " Server läuft bereits. Neustart..." -ForegroundColor Yellow
pm2 restart emailsorter-api
pm2 restart mailflow-api
} else {
Write-Host " Starte Backend Server mit PM2..." -ForegroundColor Yellow
pm2 start index.mjs --name emailsorter-api
pm2 start index.mjs --name mailflow-api
pm2 save
}
Write-Host "✓ Backend Server gestartet" -ForegroundColor Green
Write-Host " Status: pm2 status" -ForegroundColor Cyan
Write-Host " Logs: pm2 logs emailsorter-api" -ForegroundColor Cyan
Write-Host " Logs: pm2 logs mailflow-api" -ForegroundColor Cyan
} else {
Write-Host "✗ Server Verzeichnis nicht gefunden!" -ForegroundColor Red
}