updated
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1 +1 @@
|
||||
.venv/
|
||||
.venv
|
||||
0
app/__pycache__/app.cpython-312.pyc
Normal file → Executable file
0
app/__pycache__/app.cpython-312.pyc
Normal file → Executable file
0
app/app.py
Normal file → Executable file
0
app/app.py
Normal file → Executable file
0
app/app_config.json
Normal file → Executable file
0
app/app_config.json
Normal file → Executable file
14
app/install.sh
Normal file → Executable file
14
app/install.sh
Normal file → Executable 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
0
app/requirements.txt
Normal file → Executable file
0
app/run_gunicorn.py
Normal file → Executable file
0
app/run_gunicorn.py
Normal file → Executable file
0
app/static/__pycache__/functions.cpython-312.pyc
Normal file → Executable file
0
app/static/__pycache__/functions.cpython-312.pyc
Normal file → Executable file
0
app/static/functions.py
Normal file → Executable file
0
app/static/functions.py
Normal file → Executable file
0
app/static/index.html
Normal file → Executable file
0
app/static/index.html
Normal file → Executable file
0
app/static/resurse/IMG_20250503_220547.jpg
Normal file → Executable file
0
app/static/resurse/IMG_20250503_220547.jpg
Normal file → Executable 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
0
app/static/resurse/IMG_20250506_080609.jpg
Normal file → Executable 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
0
app/static/resurse/VID_20250501_184228.mp4
Normal file → Executable file
0
app/static/resurse/playlist.json
Normal file → Executable file
0
app/static/resurse/playlist.json
Normal file → Executable file
0
app/static/settings.html
Normal file → Executable file
0
app/static/settings.html
Normal file → Executable file
0
app/updated_playlist.json
Normal file → Executable file
0
app/updated_playlist.json
Normal file → Executable file
Reference in New Issue
Block a user