89 lines
1.9 KiB
Markdown
89 lines
1.9 KiB
Markdown
# 🚀 Quick Start - Dashboard Integrado
|
|
|
|
## ✅ Estado Actual
|
|
- ✅ Flask instalado y configurado
|
|
- ✅ Dashboard funcionando correctamente
|
|
- ✅ 210 archivos procesados detectados
|
|
- ✅ Todas las pruebas pasaron
|
|
|
|
## 🎯 Uso Inmediato
|
|
|
|
### Opción 1: Servicio Completo (Recomendado)
|
|
```bash
|
|
python3 main.py
|
|
```
|
|
**Resultado:**
|
|
- ✅ Servicio principal procesando archivos automáticamente
|
|
- ✅ Dashboard web disponible en http://localhost:5000
|
|
|
|
### Opción 2: Solo Dashboard
|
|
```bash
|
|
python3 main.py dashboard-only
|
|
```
|
|
|
|
### Opción 3: Probar Dashboard
|
|
```bash
|
|
python3 test_dashboard.py
|
|
```
|
|
|
|
## 📊 Dashboard Web
|
|
|
|
**URL:** http://localhost:5000
|
|
|
|
**Funciones:**
|
|
- 🔍 Ver archivos de audio en tiempo real
|
|
- 🔎 Filtrar por origen (Local/WebDAV)
|
|
- 🚀 Reprocesar archivos con 1 click
|
|
- 🔄 Resetear archivos procesados
|
|
- 📥 Descargar resultados (TXT, MD, DOCX, PDF)
|
|
- 📱 Interfaz responsive (móvil/tablet/desktop)
|
|
|
|
## 📁 Ubicaciones Importantes
|
|
|
|
- **Servicio Principal:** `/home/ren/cbc/main.py`
|
|
- **Dashboard:** `/home/ren/cbc/dashboard.py`
|
|
- **Interfaz Web:** `/home/ren/cbc/templates/index.html`
|
|
- **Pruebas:** `/home/ren/cbc/test_dashboard.py`
|
|
- **Instrucciones:** `/home/ren/cbc/DASHBOARD_INSTRUCTIONS.md`
|
|
|
|
## 🔧 Comandos Disponibles
|
|
|
|
```bash
|
|
# Servicio completo (main + dashboard)
|
|
python3 main.py
|
|
|
|
# Solo dashboard
|
|
python3 main.py dashboard-only
|
|
|
|
# Transcribir audio
|
|
python3 main.py whisper audio.mp3 salida.txt
|
|
|
|
# Procesar PDF
|
|
python3 main.py pdf documento.pdf editable.docx
|
|
|
|
# Texto a resumen
|
|
python3 main.py txt2docx texto.txt resumen.docx
|
|
|
|
# Generar quiz
|
|
python3 main.py quiz "texto" quiz.docx
|
|
|
|
# Marcar archivos como procesados
|
|
python3 main.py seed-processed
|
|
```
|
|
|
|
## 📞 Soporte
|
|
|
|
Si algo no funciona:
|
|
1. Ejecutar: `python3 test_dashboard.py`
|
|
2. Verificar logs en consola
|
|
3. Revisar: `/home/ren/cbc/DASHBOARD_INSTRUCTIONS.md`
|
|
|
|
## 🎉 ¡Listo para Usar!
|
|
|
|
**Simplemente ejecuta:**
|
|
```bash
|
|
python3 main.py
|
|
```
|
|
|
|
**Y visita:** http://localhost:5000
|