Skip to content

Commit

Permalink
docs: use python's virtual environment
Browse files Browse the repository at this point in the history
Debian 12 does not allow simply to run python3 -m pip install
So we should create here venv and install qllr there.
  • Loading branch information
em92 committed Dec 16, 2023
1 parent 15fba05 commit bba6231
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,19 @@
## Installing and configuring QLLR
```
# base apps
sudo apt-get install python3 python3-pip postgresql git
sudo apt-get install python3 python3-pip python3-venv postgresql git
# psycopg2 build prerequires
sudo apt-get install python3-dev libpq-dev gcc
# install qllr
git clone https://github.com/em92/quakelive-local-ratings
cd ./quakelive-local-ratings
# create virtual environment
python3 -m venv venv
source venv/bin/activate
python3 -m pip install -r requirements.txt
```

Expand Down

0 comments on commit bba6231

Please sign in to comment.