mirror of
https://github.com/arc53/DocsGPT
synced 2024-11-03 23:15:37 +00:00
added venv official Python documentation
This commit is contained in:
parent
50d48ee3ec
commit
27d33f015f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user