Add tiny comments to explain Python's venv module

This commit is contained in:
maehw 2021-10-23 21:48:28 +02:00
parent dde5d5a732
commit 62ab2378e0

View File

@ -25,9 +25,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.