ds-play created

This commit is contained in:
2025-05-11 16:09:49 +03:00
commit 86cefde130
15 changed files with 692 additions and 0 deletions

15
app/install.sh Normal file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
# Exit immediately if a command exits with a non-zero status
set -e
echo "Updating package list..."
sudo apt update
echo "Installing system dependencies..."
sudo apt install -y python3 python3-pip vlc libvlc-dev libvlccore-dev pulseaudio
echo "Installing Python dependencies..."
pip3 install -r requirements.txt
echo "Setup complete. You can now run the app using: python3 app.py or gunicorn -w 4 -b 0.0.0.0:1025 app:app"