new file: QUICKSTART.md
new file: README_INSTALL.md new file: requirements.txt new file: static/css/style.css new file: static/js/images-to-pdf.js new file: static/js/main.js new file: static/js/pdf-tools.js new file: templates/pdf_tools.html
This commit is contained in:
69
QUICKSTART.md
Normal file
69
QUICKSTART.md
Normal file
@@ -0,0 +1,69 @@
|
||||
# Schnellstart-Anleitung für PDF Editor Web App
|
||||
|
||||
## Sofort loslegen (Windows PowerShell)
|
||||
|
||||
1. **Navigieren Sie zum Projektordner:**
|
||||
```powershell
|
||||
cd "c:\Users\Simon.Speedy\Documents\dev projekte\Test\pdf web app"
|
||||
```
|
||||
|
||||
2. **Virtuelle Umgebung erstellen:**
|
||||
```powershell
|
||||
python -m venv venv
|
||||
.\venv\Scripts\Activate.ps1
|
||||
```
|
||||
|
||||
3. **Abhängigkeiten installieren:**
|
||||
```powershell
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
4. **Poppler für Windows installieren:**
|
||||
- Downloaden Sie: https://github.com/oschwartz10612/poppler-windows/releases
|
||||
- Extrahieren Sie nach C:\poppler
|
||||
- Fügen Sie C:\poppler\Library\bin zu den Umgebungsvariablen hinzu
|
||||
|
||||
**ODER per Scoop (einfacher):**
|
||||
```powershell
|
||||
# Falls Scoop nicht installiert ist:
|
||||
# Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
|
||||
# irm get.scoop.sh | iex
|
||||
|
||||
scoop install poppler
|
||||
```
|
||||
|
||||
5. **App starten:**
|
||||
```powershell
|
||||
python app.py
|
||||
```
|
||||
|
||||
6. **Browser öffnen:**
|
||||
- Gehen Sie zu: http://127.0.0.1:5000
|
||||
|
||||
## Fertig! 🎉
|
||||
|
||||
Die App läuft jetzt lokal auf Ihrem Computer. Sie können:
|
||||
|
||||
- ✅ Bilder zu PDF konvertieren
|
||||
- ✅ PDFs zusammenführen
|
||||
- ✅ PDFs zu Bildern konvertieren
|
||||
- ✅ Drag & Drop verwenden
|
||||
- ✅ Vollständig offline arbeiten
|
||||
|
||||
## Bei Problemen:
|
||||
|
||||
**Fehler bei pdf2image?**
|
||||
```powershell
|
||||
# Poppler-Pfad manuell setzen (falls automatisch nicht funktioniert)
|
||||
$env:PATH += ";C:\poppler\Library\bin"
|
||||
```
|
||||
|
||||
**Port bereits belegt?**
|
||||
- Ändern Sie in app.py die Zeile: `app.run(debug=True, host='127.0.0.1', port=5001)`
|
||||
|
||||
**Importfehler?**
|
||||
```powershell
|
||||
# Virtuelle Umgebung erneut aktivieren
|
||||
.\venv\Scripts\Activate.ps1
|
||||
pip install --upgrade -r requirements.txt
|
||||
```
|
||||
Reference in New Issue
Block a user