diff --git a/.dockerignore b/.dockerignore old mode 100755 new mode 100644 diff --git a/.gitignore b/.gitignore old mode 100755 new mode 100644 diff --git a/Dockerfile b/Dockerfile old mode 100755 new mode 100644 diff --git a/QUICK_START.md b/QUICK_START.md deleted file mode 100644 index 32a8ca1..0000000 --- a/QUICK_START.md +++ /dev/null @@ -1,120 +0,0 @@ -# 🚀 DigiServer Deployment - Quick Reference Card - -## Instant Deployment - -```bash -cd /path/to/digiserver-v2 -./deploy.sh -``` - -That's it! ✅ - ---- - -## 📖 Documentation Files - -| File | Purpose | Size | -|------|---------|------| -| [DEPLOYMENT_INDEX.md](DEPLOYMENT_INDEX.md) | Navigation guide | 8.1 KB | -| [DEPLOYMENT_README.md](DEPLOYMENT_README.md) | Complete guide | 9.4 KB | -| [DOCKER_EXEC_COMMANDS.md](DOCKER_EXEC_COMMANDS.md) | Command reference | 7.6 KB | -| [DEPLOYMENT_COMMANDS.md](DEPLOYMENT_COMMANDS.md) | Detailed guide | 6.8 KB | - ---- - -## 🔧 Executable Scripts - -| Script | Purpose | Time | -|--------|---------|------| -| [deploy.sh](deploy.sh) | Fully automated | 2-3 min | -| [setup_https.sh](setup_https.sh) | Semi-automated | 3-5 min | - ---- - -## 🎯 Common Commands - -### Check Status -```bash -docker-compose ps -``` - -### View Logs -```bash -docker-compose logs -f digiserver-app -``` - -### Verify HTTPS Configuration -```bash -docker-compose exec -T digiserver-app python /app/https_manager.py status -``` - -### Access the Application -``` -https://digiserver.sibiusb.harting.intra -https://10.76.152.164 -https://digiserver -``` - -### Default Login -``` -Username: admin -Password: admin123 -``` - ---- - -## 🆘 Troubleshooting - -| Issue | Solution | -|-------|----------| -| Containers won't start | `docker-compose logs` | -| Migration fails | Check DB connection, see docs | -| HTTPS errors | Clear Caddy cache: `docker volume rm digiserver-v2_caddy-*` | -| Port conflict | `lsof -i :443` or change in docker-compose.yml | - -See [DEPLOYMENT_README.md#-troubleshooting](DEPLOYMENT_README.md#-troubleshooting) for full guide. - ---- - -## 🌍 Deploy on Different PC - -1. Copy project files -2. Install Docker & Docker Compose -3. Run `./deploy.sh` - -Done! 🎉 - ---- - -## 🔑 Customize Deployment - -```bash -HOSTNAME=myserver \ -DOMAIN=myserver.internal \ -IP_ADDRESS=192.168.1.100 \ -EMAIL=admin@example.com \ -./deploy.sh -``` - ---- - -## 📚 Need More Help? - -- **First time?** → [DEPLOYMENT_README.md](DEPLOYMENT_README.md) -- **Need a command?** → [DOCKER_EXEC_COMMANDS.md](DOCKER_EXEC_COMMANDS.md) -- **Lost?** → [DEPLOYMENT_INDEX.md](DEPLOYMENT_INDEX.md) -- **Troubleshooting?** → [DEPLOYMENT_README.md#-troubleshooting](DEPLOYMENT_README.md#-troubleshooting) - ---- - -## ✨ What You Get - -✅ Web application with admin dashboard -✅ HTTPS with self-signed certificates -✅ User management system -✅ Player & content management -✅ Fully configured & ready to use - ---- - -**Ready to deploy?** `./deploy.sh` 🚀 diff --git a/app/app.py b/app/app.py old mode 100755 new mode 100644 diff --git a/app/blueprints/__init__.py b/app/blueprints/__init__.py old mode 100755 new mode 100644 diff --git a/app/blueprints/api.py b/app/blueprints/api.py old mode 100755 new mode 100644 diff --git a/app/blueprints/auth.py b/app/blueprints/auth.py old mode 100755 new mode 100644 diff --git a/app/blueprints/content.py b/app/blueprints/content.py old mode 100755 new mode 100644 diff --git a/app/blueprints/content_old.py b/app/blueprints/content_old.py old mode 100755 new mode 100644 diff --git a/app/blueprints/groups.py b/app/blueprints/groups.py old mode 100755 new mode 100644 diff --git a/app/blueprints/main.py b/app/blueprints/main.py old mode 100755 new mode 100644 diff --git a/app/blueprints/players.py b/app/blueprints/players.py old mode 100755 new mode 100644 diff --git a/app/blueprints/playlist.py b/app/blueprints/playlist.py old mode 100755 new mode 100644 diff --git a/app/config.py b/app/config.py old mode 100755 new mode 100644 diff --git a/app/extensions.py b/app/extensions.py old mode 100755 new mode 100644 diff --git a/app/models/__init__.py b/app/models/__init__.py old mode 100755 new mode 100644 diff --git a/app/models/content.py b/app/models/content.py old mode 100755 new mode 100644 diff --git a/app/models/group.py b/app/models/group.py old mode 100755 new mode 100644 diff --git a/app/models/player.py b/app/models/player.py old mode 100755 new mode 100644 diff --git a/app/models/player_edit.py b/app/models/player_edit.py old mode 100755 new mode 100644 diff --git a/app/models/player_feedback.py b/app/models/player_feedback.py old mode 100755 new mode 100644 diff --git a/app/models/player_user.py b/app/models/player_user.py old mode 100755 new mode 100644 diff --git a/app/models/playlist.py b/app/models/playlist.py old mode 100755 new mode 100644 diff --git a/app/models/server_log.py b/app/models/server_log.py old mode 100755 new mode 100644 diff --git a/app/models/user.py b/app/models/user.py old mode 100755 new mode 100644 diff --git a/app/static/icons/edit.svg b/app/static/icons/edit.svg old mode 100755 new mode 100644 diff --git a/app/static/icons/home.svg b/app/static/icons/home.svg old mode 100755 new mode 100644 diff --git a/app/static/icons/info.svg b/app/static/icons/info.svg old mode 100755 new mode 100644 diff --git a/app/static/icons/monitor.svg b/app/static/icons/monitor.svg old mode 100755 new mode 100644 diff --git a/app/static/icons/moon.svg b/app/static/icons/moon.svg old mode 100755 new mode 100644 diff --git a/app/static/icons/playlist.svg b/app/static/icons/playlist.svg old mode 100755 new mode 100644 diff --git a/app/static/icons/sun.svg b/app/static/icons/sun.svg old mode 100755 new mode 100644 diff --git a/app/static/icons/trash.svg b/app/static/icons/trash.svg old mode 100755 new mode 100644 diff --git a/app/static/icons/upload.svg b/app/static/icons/upload.svg old mode 100755 new mode 100644 diff --git a/app/static/icons/warning.svg b/app/static/icons/warning.svg old mode 100755 new mode 100644 diff --git a/app/static/uploads/.gitkeep b/app/static/uploads/.gitkeep old mode 100755 new mode 100644 diff --git a/app/templates/admin/admin.html b/app/templates/admin/admin.html old mode 100755 new mode 100644 diff --git a/app/templates/admin/customize_logos.html b/app/templates/admin/customize_logos.html old mode 100755 new mode 100644 diff --git a/app/templates/admin/dependencies.html b/app/templates/admin/dependencies.html old mode 100755 new mode 100644 diff --git a/app/templates/admin/editing_users.html b/app/templates/admin/editing_users.html old mode 100755 new mode 100644 diff --git a/app/templates/admin/leftover_media.html b/app/templates/admin/leftover_media.html old mode 100755 new mode 100644 diff --git a/app/templates/admin/user_management.html b/app/templates/admin/user_management.html old mode 100755 new mode 100644 diff --git a/app/templates/auth/change_password.html b/app/templates/auth/change_password.html old mode 100755 new mode 100644 diff --git a/app/templates/auth/login.html b/app/templates/auth/login.html old mode 100755 new mode 100644 diff --git a/app/templates/auth/register.html b/app/templates/auth/register.html old mode 100755 new mode 100644 diff --git a/app/templates/base.html b/app/templates/base.html old mode 100755 new mode 100644 diff --git a/app/templates/content/content_list.html b/app/templates/content/content_list.html old mode 100755 new mode 100644 diff --git a/app/templates/content/content_list_new.html b/app/templates/content/content_list_new.html old mode 100755 new mode 100644 diff --git a/app/templates/content/edit_content.html b/app/templates/content/edit_content.html old mode 100755 new mode 100644 diff --git a/app/templates/content/manage_playlist_content.html b/app/templates/content/manage_playlist_content.html old mode 100755 new mode 100644 diff --git a/app/templates/content/media_library.html b/app/templates/content/media_library.html old mode 100755 new mode 100644 diff --git a/app/templates/content/upload_content.html b/app/templates/content/upload_content.html old mode 100755 new mode 100644 diff --git a/app/templates/content/upload_media.html b/app/templates/content/upload_media.html old mode 100755 new mode 100644 diff --git a/app/templates/dashboard.html b/app/templates/dashboard.html old mode 100755 new mode 100644 diff --git a/app/templates/errors/403.html b/app/templates/errors/403.html old mode 100755 new mode 100644 diff --git a/app/templates/errors/404.html b/app/templates/errors/404.html old mode 100755 new mode 100644 diff --git a/app/templates/errors/500.html b/app/templates/errors/500.html old mode 100755 new mode 100644 diff --git a/app/templates/groups/create_group.html b/app/templates/groups/create_group.html old mode 100755 new mode 100644 diff --git a/app/templates/groups/edit_group.html b/app/templates/groups/edit_group.html old mode 100755 new mode 100644 diff --git a/app/templates/groups/group_fullscreen.html b/app/templates/groups/group_fullscreen.html old mode 100755 new mode 100644 diff --git a/app/templates/groups/groups_list.html b/app/templates/groups/groups_list.html old mode 100755 new mode 100644 diff --git a/app/templates/groups/manage_group.html b/app/templates/groups/manage_group.html old mode 100755 new mode 100644 diff --git a/app/templates/players/add_player.html b/app/templates/players/add_player.html old mode 100755 new mode 100644 diff --git a/app/templates/players/edit_player.html b/app/templates/players/edit_player.html old mode 100755 new mode 100644 diff --git a/app/templates/players/edited_media.html b/app/templates/players/edited_media.html old mode 100755 new mode 100644 diff --git a/app/templates/players/manage_player.html b/app/templates/players/manage_player.html old mode 100755 new mode 100644 diff --git a/app/templates/players/player_fullscreen.html b/app/templates/players/player_fullscreen.html old mode 100755 new mode 100644 diff --git a/app/templates/players/player_page.html b/app/templates/players/player_page.html old mode 100755 new mode 100644 diff --git a/app/templates/players/players_list.html b/app/templates/players/players_list.html old mode 100755 new mode 100644 diff --git a/app/templates/playlist/manage_playlist.html b/app/templates/playlist/manage_playlist.html old mode 100755 new mode 100644 diff --git a/app/utils/__init__.py b/app/utils/__init__.py old mode 100755 new mode 100644 diff --git a/app/utils/group_player_management.py b/app/utils/group_player_management.py old mode 100755 new mode 100644 diff --git a/app/utils/logger.py b/app/utils/logger.py old mode 100755 new mode 100644 diff --git a/app/utils/pptx_converter.py b/app/utils/pptx_converter.py old mode 100755 new mode 100644 diff --git a/app/utils/uploads.py b/app/utils/uploads.py old mode 100755 new mode 100644 diff --git a/docker-compose.yml b/docker-compose.yml old mode 100755 new mode 100644 diff --git a/fix_player_user_schema.py b/fix_player_user_schema.py old mode 100755 new mode 100644 diff --git a/migrations/add_player_user_table.py b/migrations/add_player_user_table.py old mode 100755 new mode 100644 diff --git a/migrations/migrate_player_user_global.py b/migrations/migrate_player_user_global.py old mode 100755 new mode 100644 diff --git a/old_code_documentation/.env.example b/old_code_documentation/.env.example old mode 100755 new mode 100644 diff --git a/DATA_DEPLOYMENT.md b/old_code_documentation/DATA_DEPLOYMENT.md similarity index 100% rename from DATA_DEPLOYMENT.md rename to old_code_documentation/DATA_DEPLOYMENT.md diff --git a/old_code_documentation/DOCKER.md b/old_code_documentation/DOCKER.md old mode 100755 new mode 100644 diff --git a/old_code_documentation/HTTPS_SETUP.md b/old_code_documentation/HTTPS_SETUP.md old mode 100755 new mode 100644 diff --git a/old_code_documentation/IMPLEMENTATION_OPTIONAL_LIBREOFFICE.md b/old_code_documentation/IMPLEMENTATION_OPTIONAL_LIBREOFFICE.md old mode 100755 new mode 100644 diff --git a/NGINX_SETUP_QUICK.md b/old_code_documentation/NGINX_SETUP_QUICK.md similarity index 100% rename from NGINX_SETUP_QUICK.md rename to old_code_documentation/NGINX_SETUP_QUICK.md diff --git a/old_code_documentation/OPTIONAL_DEPENDENCIES.md b/old_code_documentation/OPTIONAL_DEPENDENCIES.md old mode 100755 new mode 100644 diff --git a/old_code_documentation/PLAYER_EDIT_MEDIA_API.md b/old_code_documentation/PLAYER_EDIT_MEDIA_API.md old mode 100755 new mode 100644 diff --git a/PROXY_FIX_SETUP.md b/old_code_documentation/PROXY_FIX_SETUP.md similarity index 100% rename from PROXY_FIX_SETUP.md rename to old_code_documentation/PROXY_FIX_SETUP.md diff --git a/old_code_documentation/README.md b/old_code_documentation/README.md old mode 100755 new mode 100644 diff --git a/old_code_documentation/add_muted_column.py b/old_code_documentation/add_muted_column.py old mode 100755 new mode 100644 diff --git a/old_code_documentation/check_fix_player.py b/old_code_documentation/check_fix_player.py old mode 100755 new mode 100644 diff --git a/old_code_documentation/migrate_add_edit_enabled.py b/old_code_documentation/migrate_add_edit_enabled.py old mode 100755 new mode 100644 diff --git a/requirements.txt b/requirements.txt old mode 100755 new mode 100644