creaded correct docker image creation file

This commit is contained in:
DigiServer Developer
2025-11-17 22:03:52 +02:00
parent 2db0033bc0
commit c16383ed75
16 changed files with 1025 additions and 33 deletions

View File

@@ -8,11 +8,12 @@ Digital Signage Management System - A modern Flask-based application for managin
- 🎬 **Playlist System** - Create and manage content playlists with drag-and-drop reordering
- 📁 **Media Library** - Upload and organize images, videos, PDFs, and presentations
- 📄 **PDF to Image Conversion** - Automatic conversion of PDF pages to Full HD images (300 DPI)
- 📊 **PowerPoint Support** - Convert PPTX slides to images automatically
- 📊 **PowerPoint Support** - Convert PPTX slides to images automatically (optional LibreOffice install)
- 🖼️ **Live Preview** - Real-time content preview for each player
-**Real-time Updates** - Players automatically sync with playlist changes
- 🌓 **Dark Mode** - Full dark mode support across all interfaces
- 🗑️ **Media Management** - Clean up unused media files with leftover media manager
- 🔧 **Optional Dependencies** - Install LibreOffice on-demand to reduce base image size by 56%
- 🔒 **User Authentication** - Secure admin access with role-based permissions
## Quick Start
@@ -35,16 +36,20 @@ See [DOCKER.md](DOCKER.md) for detailed Docker documentation.
#### Prerequisites
- Python 3.13+
- LibreOffice (for PPTX conversion)
- Poppler Utils (for PDF conversion)
- FFmpeg (for video processing)
- Poppler Utils (for PDF conversion) - **Required**
- FFmpeg (for video processing) - **Required**
- LibreOffice (for PPTX conversion) - **Optional** (can be installed via Admin Panel)
#### Installation
```bash
# Install system dependencies (Debian/Ubuntu)
# Install required system dependencies (Debian/Ubuntu)
sudo apt-get update
sudo apt-get install -y poppler-utils libreoffice ffmpeg libmagic1
sudo apt-get install -y poppler-utils ffmpeg libmagic1
# Optional: Install LibreOffice for PowerPoint conversion
# OR install later via Admin Panel → System Dependencies
sudo apt-get install -y libreoffice
# Create virtual environment
python3 -m venv venv
@@ -199,11 +204,20 @@ sudo apt-get install poppler-utils
```
### PPTX Conversion Fails
Install LibreOffice:
**Method 1: Via Web UI (Recommended)**
1. Go to Admin Panel → System Dependencies
2. Click "Install LibreOffice"
3. Wait 2-5 minutes for installation
**Method 2: Manual Install**
```bash
sudo apt-get install libreoffice
# OR use the provided script
sudo ./install_libreoffice.sh
```
See [OPTIONAL_DEPENDENCIES.md](OPTIONAL_DEPENDENCIES.md) for details.
### Upload Fails
Check folder permissions:
```bash
@@ -248,21 +262,35 @@ flask db upgrade
This project is proprietary software. All rights reserved.
## Documentation
- [DOCKER.md](DOCKER.md) - Docker deployment guide
- [OPTIONAL_DEPENDENCIES.md](OPTIONAL_DEPENDENCIES.md) - Optional dependency installation
- [PROGRESS.md](PROGRESS.md) - Development progress tracker
- [KIVY_PLAYER_COMPATIBILITY.md](KIVY_PLAYER_COMPATIBILITY.md) - Player integration guide
## Support
For issues and questions:
- Check [DOCKER.md](DOCKER.md) for deployment help
- Review [OPTIONAL_DEPENDENCIES.md](OPTIONAL_DEPENDENCIES.md) for LibreOffice setup
- Review troubleshooting section
- Check application logs
## Version History
- **v2.1** - Optional LibreOffice installation
- Reduced base Docker image by 56% (~900MB → ~400MB)
- On-demand LibreOffice installation via Admin Panel
- System Dependencies management page
- Enhanced error messages for PPTX without LibreOffice
- **v2.0** - Complete rewrite with playlist-centric architecture
- PDF to image conversion (300 DPI)
- PPTX slide conversion
- Leftover media management
- Enhanced dark mode
- Duration editing for all content types
- PDF to image conversion (300 DPI)
- PPTX slide conversion
- Leftover media management
- Enhanced dark mode
- Duration editing for all content types
---