This commit is contained in:
2026-01-13 10:26:20 -05:00
parent 770390ff9b
commit 47f1d1311f
2 changed files with 42 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
# Navigate to the script's directory
cd "$(dirname "$0")"
# Check for virtual environment and activate if found
if [ -d "venv" ]; then
source venv/bin/activate
elif [ -d ".venv" ]; then
source .venv/bin/activate
fi
echo "Starting DownloaderWebApp..."
python3 main.py &
PID=$!
echo $PID > app.pid
echo "Application started with PID: $PID"