updated
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
|||||||
.venv/
|
.venv
|
||||||
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
+10
-4
@@ -7,9 +7,15 @@ echo "Updating package list..."
|
|||||||
sudo apt update
|
sudo apt update
|
||||||
|
|
||||||
echo "Installing system dependencies..."
|
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..."
|
echo "Creating a virtual environment..."
|
||||||
pip3 install -r requirements.txt
|
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"
|
||||||
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
|
Before Width: | Height: | Size: 3.6 MiB After Width: | Height: | Size: 3.6 MiB |
Regular → Executable
|
Before Width: | Height: | Size: 4.3 MiB After Width: | Height: | Size: 4.3 MiB |
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Reference in New Issue
Block a user