mirror of
https://github.com/arc53/DocsGPT.git
synced 2026-02-10 08:10:46 +00:00
docs: add specific Celery startup command for macOS users
This commit is contained in:
@@ -105,6 +105,12 @@ To run the DocsGPT backend locally, you'll need to set up a Python environment a
|
||||
|
||||
This command will start the Celery worker, which processes tasks such as document parsing and vector embedding.
|
||||
|
||||
**macOS note:** Due to a threading issue, start Celery with the solo pool:
|
||||
|
||||
```bash
|
||||
python -m celery -A application.app.celery worker -l INFO --pool=solo
|
||||
```
|
||||
|
||||
**Running in Debugger (VSCode):**
|
||||
|
||||
For easier debugging, you can launch the Flask app and Celery worker directly from VSCode's debugger.
|
||||
|
||||
Reference in New Issue
Block a user