This commit is contained in:
2025-05-11 16:25:56 +03:00
parent 544aabb678
commit 2e5c0b9666
16 changed files with 11 additions and 5 deletions

2
.gitignore vendored
View File

@@ -1 +1 @@
.venv/
.venv

0
app/__pycache__/app.cpython-312.pyc Normal file → Executable file
View File

0
app/app.py Normal file → Executable file
View File

0
app/app_config.json Normal file → Executable file
View File

14
app/install.sh Normal file → Executable file
View File

@@ -7,9 +7,15 @@ echo "Updating package list..."
sudo apt update
echo "Installing system dependencies..."
sudo apt install -y python3 python3-pip vlc libvlc-dev libvlccore-dev pulseaudio
sudo apt install -y python3 python3-pip python3-venv vlc libvlc-dev libvlccore-dev pulseaudio
echo "Installing Python dependencies..."
pip3 install -r requirements.txt
echo "Creating a virtual environment..."
python3 -m venv venv
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"
echo "Activating the virtual environment and installing Python dependencies..."
source venv/bin/activate
pip install -r requirements.txt
deactivate
echo "Setup complete. To start the app, activate the virtual environment using: source venv/bin/activate"
echo "Then run: python3 app.py or gunicorn -w 4 -b 0.0.0.0:1025 app:app"

0
app/requirements.txt Normal file → Executable file
View File

0
app/run_gunicorn.py Normal file → Executable file
View File

0
app/static/__pycache__/functions.cpython-312.pyc Normal file → Executable file
View File

0
app/static/functions.py Normal file → Executable file
View File

0
app/static/index.html Normal file → Executable file
View File

0
app/static/resurse/IMG_20250503_220547.jpg Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 3.6 MiB

After

Width:  |  Height:  |  Size: 3.6 MiB

0
app/static/resurse/IMG_20250506_080609.jpg Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 4.3 MiB

After

Width:  |  Height:  |  Size: 4.3 MiB

0
app/static/resurse/VID_20250501_184228.mp4 Normal file → Executable file
View File

0
app/static/resurse/playlist.json Normal file → Executable file
View File

0
app/static/settings.html Normal file → Executable file
View File

0
app/updated_playlist.json Normal file → Executable file
View File