mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-11 03:12:55 +00:00
chore: update docs
This commit is contained in:
1 parent
73ed1cf607
commit
f8e42cdce1
5 files changed
+46
-28
No files matched your search
@@ -13,12 +13,19 @@ cd frontend
|
||||
npm run dev -- --host
|
||||
```
|
||||
|
||||
### Flask (Backend)
|
||||
### Backend (ASGI)
|
||||
|
||||
Run the full app under uvicorn (serves `/mcp` and the async SSE reconnect
|
||||
routes, and matches production):
|
||||
|
||||
```bash
|
||||
flask --app application/app.py run --host=0.0.0.0 --port=7091
|
||||
uvicorn application.asgi:asgi_app --host 0.0.0.0 --port 7091 --reload
|
||||
```
|
||||
|
||||
`flask --app application/app.py run --host=0.0.0.0 --port=7091` is faster but
|
||||
serves only the WSGI Flask app — it omits `/mcp` and the reconnect reader
|
||||
`GET /api/messages/<id>/events`, so a dropped stream won't auto-resume.
|
||||
|
||||
### Celery (Task Queue)
|
||||
|
||||
```bash
|
||||
|
||||
Reference in new issue
Block a user