🗑️ WebDAV komplett entfernt
✨ Bereinigungen: - Alle WebDAV-bezogenen Code-Teile entfernt - Dokumentation auf HTTP-Zugriff umgestellt - Veraltete WebDAV-Backup-Dateien gelöscht - URLs von /webdav/* auf direkte Pfade geändert 📁 Gelöschte Dateien: - WEBDAV-INTEGRATION.md - SCHREIBSCHUTZ-BEHOBEN.md - server_old.js - server_webdav_backup.js 🔄 Aktualisierte URLs: - /webdav/templates/ → /templates/ - /webdav/documents/ → /documents/ 📝 Bereinigte Dokumentation: - README.md - WebDAV-Referenzen entfernt - STATUS.md - URLs aktualisiert - SSL-*.md - WebDAV-Links ersetzt - Start-Scripts - Pfade korrigiert 🎯 Fokus jetzt auf: - HTTP-basierte Dateifreigabe - Management-GUI System - Custom Tags REST-APIs - Template-Verarbeitung ohne WebDAV-Komplexität
This commit is contained in:
49
README.md
49
README.md
@@ -1,6 +1,6 @@
|
||||
# DOCX Template Server
|
||||
|
||||
Ein Node.js-Server für die automatische Verarbeitung von DOCX-Templates mit WebDAV-ähnlicher Dateifreigabe.
|
||||
Ein Node.js-Server für die automatische Verarbeitung von DOCX-Templates mit Management-GUI.
|
||||
|
||||
## ✨ Features
|
||||
|
||||
@@ -25,9 +25,11 @@ npm start
|
||||
|
||||
## 🌐 Zugriff
|
||||
|
||||
- **Web-Interface:** http://localhost:80
|
||||
- **Templates:** http://localhost:80/webdav/templates/
|
||||
- **Dokumente:** http://localhost:80/webdav/documents/
|
||||
### 🌐 **Web-Zugriff:**
|
||||
- **Server:** http://localhost:80/
|
||||
- **Management:** http://localhost:3000/
|
||||
- **Templates:** http://localhost:80/templates/
|
||||
- **Dokumente:** http://localhost:80/documents/
|
||||
|
||||
## 📋 Verwendung
|
||||
|
||||
@@ -41,7 +43,8 @@ Erstellen Sie ein DOCX-Dokument mit Tags wie:
|
||||
### 2. Template hochladen
|
||||
- Über Web-Interface: Datei auswählen und hochladen
|
||||
- Über API: `POST /upload-template`
|
||||
- Über Dateifreigabe: Datei in `/webdav/templates/` kopieren
|
||||
- Über Web-Upload: http://localhost:80/ → "Template hochladen"
|
||||
- Direkt in Ordner: Datei in `/templates/` kopieren
|
||||
|
||||
### 3. Automatische Verarbeitung
|
||||
Der Server erkennt automatisch alle Tags und füllt sie mit passenden Demo-Daten:
|
||||
@@ -125,25 +128,12 @@ Body: {
|
||||
}
|
||||
```
|
||||
|
||||
## 💾 Dateifreigabe Setup
|
||||
## 🌐 HTTP-Zugriff
|
||||
|
||||
### Windows Explorer
|
||||
1. Windows Explorer öffnen
|
||||
2. Adressleiste: `\\localhost\webdav$`
|
||||
3. Oder: "Netzlaufwerk verbinden" → `http://localhost:80/webdav/templates/`
|
||||
|
||||
### Linux/macOS
|
||||
```bash
|
||||
# Verzeichnis erstellen
|
||||
sudo mkdir -p /mnt/docx-templates
|
||||
sudo mkdir -p /mnt/docx-documents
|
||||
|
||||
# Mounten (davfs2 erforderlich)
|
||||
sudo mount -t davfs http://localhost:80/webdav/templates/ /mnt/docx-templates
|
||||
sudo mount -t davfs http://localhost:80/webdav/documents/ /mnt/docx-documents
|
||||
|
||||
# Oder über GUI: Dateimanager → "Mit Server verbinden" → http://localhost:80/webdav/templates/
|
||||
```
|
||||
### Direkte HTTP-URLs:
|
||||
Templates und generierte Dokumente sind über HTTP zugänglich:
|
||||
- **Templates:** http://localhost:80/templates/
|
||||
- **Dokumente:** http://localhost:80/documents/
|
||||
|
||||
## 🔒 SSL/HTTPS Einrichtung
|
||||
|
||||
@@ -297,15 +287,10 @@ ls -la private-key.pem certificate.pem
|
||||
- Tags richtig geschrieben (`{tag}` nicht `{{tag}}`)?
|
||||
- Datei-Berechtigungen prüfen
|
||||
|
||||
### Dateifreigabe funktioniert nicht
|
||||
```bash
|
||||
# WebDAV-Client installieren
|
||||
# Ubuntu/Debian:
|
||||
sudo apt install davfs2
|
||||
|
||||
# macOS:
|
||||
brew install davfs2
|
||||
```
|
||||
### Templates nicht sichtbar
|
||||
Prüfen Sie:
|
||||
- Server läuft: `http://localhost:80/`
|
||||
- Templates-Ordner: `http://localhost:80/templates/`
|
||||
|
||||
### SSL-Probleme
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user