Add tiny comments to explain Python's venv module

This commit is contained in:
maehw 2021-10-23 21:48:28 +02:00 committed by Gulliver
parent af1449c5f4
commit 3aec12d210

View File

@ -27,9 +27,9 @@ git clone --recurse-submodules https://git.wtf-eg.de/wtf-eg/handbuch-gen.git
First create a Python 3 virtual environment using the venv module included with Python 3. First create a Python 3 virtual environment using the venv module included with Python 3.
1. Create a virtual Python environment: ```python3 -m venv venv``` 1. Create a virtual Python environment in the directory `venv` using the Python module `venv`: ```python3 -m venv venv```
2. Activate virtual Python environment: ```source venv/bin/activate``` 2. Activate the virtual Python environment: ```source venv/bin/activate```
3. install needed packages from ```requirements.txt```: ```pip install -r requirements.txt``` 3. Install needed packages from ```requirements.txt```: ```pip install -r requirements.txt```
For generating the images from plantuml-sources it needs also [Plantuml](https://plantuml.com/). For generating the images from plantuml-sources it needs also [Plantuml](https://plantuml.com/).
For pdf output the latex builder is used, so it needs also an installed latex and pdflatex. For pdf output the latex builder is used, so it needs also an installed latex and pdflatex.