-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
36 lines (27 loc) · 1.67 KB
/
install.sh
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
32
33
34
35
36
#!/bin/bash
PYTHON_VERSION="3.10"
VENV_DIR="venv"
echo "Updating package list..."
sudo apt update
echo "Installing Python and pip..."
sudo apt install -y python$PYTHON_VERSION python3-pip
echo "Creating a virtual environment..."
python$PYTHON_VERSION -m venv $VENV_DIR
echo "Activating the virtual environment..."
source $VENV_DIR/bin/activate
echo "Installing required Python packages..."
pip install flask requests
echo "Setup complete!"
echo "To run the application, activate the virtual environment with:"
echo "source $VENV_DIR/bin/activate"
echo "Then run the application with:"
echo "python main.py"
echo -e "\n\n"
echo -e "\033[36m ███████╗██╗███╗ ██╗██╗██╗ ██╗██╗ ██╗██╗ ██╗\033[0m"
echo -e "\033[36m ██╔════╝██║████╗ ██║██║██║ ██║██║ ██║██║ ██║\033[0m"
echo -e "\033[36m ███████╗██║██╔██╗ ██║██║███████║███████║███████║\033[0m"
echo -e "\033[36m ╚════██║██║██║╚██╗██║██║██╔══██║██╔══██║██╔══██║\033[0m"
echo -e "\033[36m ███████║██║██║ ╚████║██║██║ ██║██║ ██║██║ ██║\033[0m"
echo -e "\033[36m ╚══════╝╚═╝╚═╝ ╚═══╝╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝\033[0m"
echo -e "\033[36m RAZORxzy\033[0m"
echo -e "\n\033[32mFinis install go to user a tool!\033[0m"