37 lines
1.2 KiB
Bash
Executable File
37 lines
1.2 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "🚀 DOCX Template Server mit WebDAV - Schnelltest"
|
|
echo "================================================"
|
|
|
|
# Server-Status prüfen
|
|
echo "📊 Server-Status:"
|
|
curl -s http://localhost:3000/health | json_pp 2>/dev/null || echo "Server nicht erreichbar"
|
|
|
|
echo ""
|
|
echo "🌐 WebDAV-Info:"
|
|
curl -s http://localhost:3000/webdav-info | json_pp 2>/dev/null || echo "WebDAV-Info nicht verfügbar"
|
|
|
|
echo ""
|
|
echo "📁 Verfügbare Templates:"
|
|
curl -s http://localhost:3000/templates | json_pp 2>/dev/null || echo "Templates nicht verfügbar"
|
|
|
|
echo ""
|
|
echo "📄 Output-Dateien:"
|
|
curl -s http://localhost:3000/files/output | json_pp 2>/dev/null || echo "Output-Dateien nicht verfügbar"
|
|
|
|
echo ""
|
|
echo "🔗 URLs zum Testen:"
|
|
echo " Web-Interface: http://localhost:3000"
|
|
echo " WebDAV Output: http://localhost:8080/output/"
|
|
echo " WebDAV Templates: http://localhost:8080/templates/"
|
|
|
|
echo ""
|
|
echo "👤 WebDAV Anmeldedaten:"
|
|
echo " admin / password123"
|
|
echo " user / docx2024"
|
|
|
|
echo ""
|
|
echo "💡 Tipps:"
|
|
echo " - Öffnen Sie http://localhost:3000 im Browser"
|
|
echo " - Verbinden Sie sich mit WebDAV für direktes Bearbeiten"
|
|
echo " - Verwenden Sie die API für automatisierte Dokumentenerstellung" |