Add details on virtualenv / package installation (#361)

This commit is contained in:
Anael Mobilia
2022-12-24 00:10:35 +01:00
committed by GitHub
parent 7c349fe97e
commit 69c2c6bdb6
+7 -1
View File
@@ -742,10 +742,16 @@ explicitly tell `virtualenv` to use `python3.9` instead
sudo -u parsedmarc virtualenv -p python3.9 /opt/parsedmarc/venv
```
Activate the virtualenv
```bash
source /opt/parsedmarc/venv/bin/activate
```
To install or upgrade `parsedmarc` inside the virtualenv, run:
```bash
sudo -u parsedmarc /opt/parsedmarc/venv -U parsedmarc
sudo -u parsedmarc /opt/parsedmarc/venv/bin/pip install -U parsedmarc
```
### Optional dependencies