From ccbf0c1da6e39736e0641a5b9a1269e4f7a34e63 Mon Sep 17 00:00:00 2001 From: zaid404 <72801263+zaid404@users.noreply.github.com> Date: Sun, 10 Nov 2024 16:14:18 +0700 Subject: [PATCH] Update run.sh --- run.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/run.sh b/run.sh index 1dd62f1..d84dfbd 100644 --- a/run.sh +++ b/run.sh @@ -1,3 +1,8 @@ +sudo apt update +sudo apt install python3.8 python3.8-venv -y +python3.8 -m venv myenv38 +source myenv38/bin/activate +pip install -r requirements.txt # Install dependencies apt-get install python3 python3-pip python3-dev build-essential libssl-dev libffi-dev python3-setuptools -y apt-get install python3-venv -y @@ -12,7 +17,7 @@ systemctl enable nginx python3 -m venv venv source venv/bin/activate -pip install requirements.txt + pip install gunicorn pip install wheel pip install gunicorn flask