From 69c2c6bdb61e5005f63a7b73cfc86589cd8494ec Mon Sep 17 00:00:00 2001 From: Anael Mobilia Date: Sat, 24 Dec 2022 00:10:35 +0100 Subject: [PATCH] Add details on virtualenv / package installation (#361) --- docs/source/index.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/source/index.md b/docs/source/index.md index 3ed2894..ef8c79e 100644 --- a/docs/source/index.md +++ b/docs/source/index.md @@ -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