mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 08:33:20 +00:00
added venv official Python documentation
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user