Skip to content

Commit

Permalink
Update backend/python/scripts/install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
NguyenAnhTuan1912 committed Aug 18, 2024
1 parent 2a50b9c commit b9a16b4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions backend/python/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ apt install wget
apt install python3
printf "Python has been just installed: $(python3 --version)"

### Install pip3
apt install python3-pip
printf "PIP has just been installed: $(node -v)"
### Install `pip3` and `virtualenv`
apt install python3-pip python3-virtualenv
printf "PIP has just been installed: $(pip3 --version)"
printf "virtualenv has just been installed: $(virtualenv --version)"

# Change directory to `/home/backend/python`
cd /home/backend/python

## Install virtualenv and create virtual environment
pip3 install virtualenv
## Create virtual environment
virtualenv venv
source venv/bin/activate

Expand Down

0 comments on commit b9a16b4

Please sign in to comment.