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

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.) (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: 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 On Mac OS or Linux
```commandline ```commandline
@@ -135,6 +136,7 @@ On Windows
python -m venv venv python -m venv venv
venv/Scripts/activate venv/Scripts/activate
``` ```
3. Change to the `application/` subdir and install dependencies for the backend: 3. Change to the `application/` subdir and install dependencies for the backend:
```commandline ```commandline
pip install -r application/requirements.txt pip install -r application/requirements.txt