Næste version
This commit is contained in:
24
linedance-app/setup.sh
Executable file
24
linedance-app/setup.sh
Executable file
@@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
# Kør fra LinedanceAfspiller/linedance-app/ mappen
|
||||
|
||||
echo "=== LineDance Player Setup ==="
|
||||
|
||||
# Opret venv hvis den ikke eksisterer
|
||||
if [ ! -d "venv" ]; then
|
||||
echo "Opretter virtual environment..."
|
||||
python3 -m venv venv
|
||||
fi
|
||||
|
||||
# Aktiver venv
|
||||
source venv/bin/activate
|
||||
|
||||
# Installer afhængigheder
|
||||
echo "Installerer afhængigheder..."
|
||||
pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
|
||||
echo ""
|
||||
echo "=== Færdig! ==="
|
||||
echo "Start programmet med:"
|
||||
echo " source venv/bin/activate"
|
||||
echo " python main.py"
|
||||
Reference in New Issue
Block a user