Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: index number in api/README (#3214)

Bowen Liang0516b78d6fd7
diff --git a/api/README.md b/api/README.md
index 93ee1816c64..4069b3d88be 100644
--- a/api/README.md
+++ b/api/README.md
@@ -17,16 +17,16 @@
```bash
sed -i "/^SECRET_KEY=/c\SECRET_KEY=$(openssl rand -base64 42)" .env
```
-3.5 If you use Anaconda, create a new environment and activate it
+4. If you use Anaconda, create a new environment and activate it
```bash
conda create --name dify python=3.10
conda activate dify
```
-4. Install dependencies
+5. Install dependencies
```bash
pip install -r requirements.txt
```
-5. Run migrate
+6. Run migrate
Before the first launch, migrate the database to the latest version.
@@ -47,9 +47,11 @@
pip install -r requirements.txt --upgrade --force-reinstall
```
-6. Start backend:
+7. Start backend:
```bash
flask run --host 0.0.0.0 --port=5001 --debug
```
-7. Setup your application by visiting http://localhost:5001/console/api/setup or other apis...
-8. If you need to debug local async processing, you can run `celery -A app.celery worker -P gevent -c 1 --loglevel INFO -Q dataset,generation,mail`, celery can do dataset importing and other async tasks.
+8. Setup your application by visiting http://localhost:5001/console/api/setup or other apis...
+9. If you need to debug local async processing, please start the worker service by running
+`celery -A app.celery worker -P gevent -c 1 --loglevel INFO -Q dataset,generation,mail`.
+The started celery app handles the async tasks, e.g. dataset importing and documents indexing.