added venv official Python documentation

This commit is contained in:
KRISH SONI 2023-10-07 19:43:45 +05:30 committed by GitHub
parent 50d48ee3ec
commit 27d33f015f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,6 +124,7 @@ Make sure you have Python 3.10 or 3.11 installed.
(check out [`application/core/settings.py`](application/core/settings.py) if you want to see more config options.)
2. (optional) Create a Python virtual environment:
You can follow the official Python documentation for virtual environments [here](https://docs.python.org/3/tutorial/venv.html).
On Mac OS or Linux
```commandline
@ -135,6 +136,7 @@ On Windows
python -m venv venv
venv/Scripts/activate
```
3. Change to the `application/` subdir and install dependencies for the backend:
```commandline
pip install -r application/requirements.txt