ds-play created
This commit is contained in:
15
app/install.sh
Normal file
15
app/install.sh
Normal 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"
|
||||
Reference in New Issue
Block a user