Files
digiserver-v2/old_code_documentation/start.sh
DigiServer Admin 4a9616a0f7 Add HTTPS support with Caddy and clean up legacy files
- Add Caddy reverse proxy for automatic HTTPS with Let's Encrypt
- Update docker-compose.yml with Caddy service and internal networking
- Remove all Redis dependencies (not needed for this deployment)
- Fix Dockerfile permissions for instance and uploads directories
- Move legacy scripts to old_code_documentation folder
  - add_muted_column.py, check_fix_player.py, migrate_add_edit_enabled.py
  - docker-start.sh, run_dev.sh, start.sh, clean_for_deployment.sh
- Add HTTPS_SETUP.md documentation for Caddy configuration
- Update .env.example with DOMAIN and EMAIL variables
- Remove redis package from requirements.txt
- Remove rate limiting Redis storage from config.py
2025-12-11 16:56:44 +02:00

24 lines
456 B
Bash
Executable File

#!/bin/bash
# DigiServer v2 - Simple Start Script
# Starts the application with proper configuration
set -e
cd /srv/digiserver-v2
# Activate virtual environment
source venv/bin/activate
# Set environment variables
export FLASK_APP=app.app:create_app
export FLASK_ENV=development
# Start Flask server
echo "Starting DigiServer v2..."
echo "Access at: http://localhost:5000"
echo "Login: admin / admin123"
echo ""
flask run --host=0.0.0.0 --port=5000