Skip to content

Commit

Permalink
activate the venv inside the update script
Browse files Browse the repository at this point in the history
  • Loading branch information
bemxio committed Dec 5, 2024
1 parent 192b257 commit 5bef0a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ sudo -S apt-get update && sudo apt-get upgrade -y
# move into the polkabot directory
cd ~/polkabot

# update python packages
python3 -m pip install -r requirements.txt --upgrade
# activate the virtual environment and update Python packages
source .venv/bin/activate && python3 -m pip install -r requirements.txt --upgrade

# pull the latest code from the repository
git pull origin main
Expand Down

0 comments on commit 5bef0a2

Please sign in to comment.