mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 08:33:20 +00:00
Update README.md
This commit is contained in:
15
README.md
15
README.md
@@ -120,16 +120,11 @@ docker compose -f docker-compose-dev.yaml up -d
|
|||||||
|
|
||||||
Make sure you have Python 3.10 or 3.11 installed.
|
Make sure you have Python 3.10 or 3.11 installed.
|
||||||
|
|
||||||
1. Export required environment variables
|
1. Export required environment variables or prep .env file in application folder
|
||||||
```commandline
|
Prepare .env file
|
||||||
export CELERY_BROKER_URL=redis://localhost:6379/0
|
Copy `.env_sample` and create `.env` with your OpenAI API token for the API_KEY and EMBEDDINGS_KEY fields
|
||||||
export CELERY_RESULT_BACKEND=redis://localhost:6379/1
|
|
||||||
export MONGO_URI=mongodb://localhost:27017/docsgpt
|
(check out application/core/settings.py if you want to see more config options)
|
||||||
export FLASK_APP=application/app.py
|
|
||||||
export FLASK_DEBUG=true
|
|
||||||
```
|
|
||||||
2. Prepare .env file
|
|
||||||
Copy `.env_sample` and create `.env` with your OpenAI API token
|
|
||||||
3. (optional) Create a Python virtual environment
|
3. (optional) Create a Python virtual environment
|
||||||
```commandline
|
```commandline
|
||||||
python -m venv venv
|
python -m venv venv
|
||||||
|
|||||||
Reference in New Issue
Block a user