docker docs

This commit is contained in:
KRISH SONI
2023-10-18 21:54:28 +05:30
committed by GitHub
parent b64495f7a9
commit 55921b262f

View File

@@ -78,7 +78,7 @@ If you don't have enough resources to run it, you can use bitsnbytes to quantize
## QuickStart
Note: Make sure you have Docker installed
Note: Make sure you have [Docker](https://www.docker.com/) installed
On Mac OS or Linux, write:
@@ -124,10 +124,19 @@ 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 [Python official documentation](https://docs.python.org/3/tutorial/venv.html) for virtual environments .
a) On Mac OS and Linux
```commandline
python -m venv venv
. venv/bin/activate
```
b) On Windows
```commandline
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