From 0fb566574b9de82edac65de361093c79c2120713 Mon Sep 17 00:00:00 2001 From: Esteban Mackay Q Date: Mon, 14 Aug 2023 05:23:14 -0500 Subject: [PATCH] Update update.sh --- update.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/update.sh b/update.sh index de1ff0f..78e6525 100644 --- a/update.sh +++ b/update.sh @@ -690,8 +690,8 @@ sudo sed -i "s/www\/html/www\/fdmr/g" /opt/FDMR-Monitor/sysinfo/*.* # Install the required support programs sudo -H pip3 install --upgrade pip -python3 -m venv env0 -source env0/bin/activate +python3 -m venv env0 && +source env0/bin/activate && pip3 install -r requirements.txt deactivate pip install pyopenssl --upgrade @@ -1224,8 +1224,8 @@ sudo git clone https://github.com/CS8ABG/FDMR-Monitor.git /opt/FDMR-Monitor2 cd /opt/FDMR-Monitor2 sudo git checkout Self_Service sudo -H pip3 install --upgrade pip -python3 -m venv env0 -source env0/bin/activate +python3 -m venv env0 && +source env0/bin/activate && pip3 install -r requirements.txt deactivate pip install pyopenssl --upgrade