-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinstall.sh
More file actions
31 lines (24 loc) · 732 Bytes
/
Copy pathinstall.sh
File metadata and controls
31 lines (24 loc) · 732 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
echo "Setting up the Scouting-App..."
# Check if Python is installed
if ! command -v python3 &> /dev/null; then
echo "Python is not installed! Please install Python 3.7+ and try again."
exit 1
fi
# Create and activate virtual environment
echo "Creating virtual environment..."
python3 -m venv venv
source venv/bin/activate
# Upgrade pip
echo "Upgrading pip..."
pip install --upgrade pip
# Install requirements
echo "Installing required packages..."
pip install -r requirements.txt
echo ""
echo "Installation complete! You can now run the app with:"
echo " python app/main.py"
echo ""
echo "Don't forget to set up your environment variables if needed."
# Make the script executable
chmod +x app/main.py