summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README24
1 files changed, 22 insertions, 2 deletions
diff --git a/README b/README
index cef2685a..d54cd905 100644
--- a/README
+++ b/README
@@ -43,6 +43,7 @@ If not already installed, please install according to your needs and your OS:
# apt install python3-jinja2 python3-babel python3-distutils
# apt install python3-ruamel.yaml
+# apt install python3-lxml python3-bs4
# apt install git
-> On some distros, you may need to use `pip install ruamel.yaml`
@@ -73,7 +74,7 @@ Debian prerequisites
Simply install:
-# apt install python3-ruamel.yaml python3-jinja2 python3-babel git
+# apt install python3-ruamel.yaml python3-jinja2 python3-babel git python3-lxml python3-bs4
====================
NetBSD prerequisites
@@ -82,7 +83,26 @@ Install python3.7, py37-babel, npm, nodejs from pkgsrc.
Adjust the values in config.mk: PYTHON=python3.7 BABEL=pybabel-3.7
-
+====================
+Python virtual env
+====================
+* Install python3 i.e on Debian
+```
+# apt install python3
+```
+* Create virtual environment **.venv directory is excluded with git ignore paterns**
+```
+python3 -m venv .venv
+```
+* Activate the virtual environment
+```
+source .venv/bin/activate
+```
+* Install all requirements from [requirements.txt](requirements.txt) using pip
+```
+pip install -r requirements.txt
+
+
B. When reusing the existing web site from Git, get its files and folder structure:
# git clone git+ssh://git@git.taler.net/www.git