Skip to content

Commit 3447e95

Browse files
committed
Update babbleapp.sh
1 parent a82eb24 commit 3447e95

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

babbleapp.sh

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,15 @@ update_repo() {
6363

6464

6565
cd $install_dir
66-
update_repo
67-
source venv/bin/activate
6866
cd BabbleApp
67+
68+
# Create venv if it does not exists
69+
if ! [ -d "venv" ]; then
70+
python3 -m venv venv
71+
fi
72+
73+
source venv/bin/activate
74+
update_repo
6975
echo "Verifying dependencies. This might take a second!"
7076
install_requirements
7177
echo "Starting Babble app..."

0 commit comments

Comments
 (0)