From 86bfbb47d5a52d5a97f4eac13ca3615ae2f1893e Mon Sep 17 00:00:00 2001 From: crazywoola <100913391+crazywoola@users.noreply.github.com> Date: Thu, 31 Aug 2023 14:54:16 +0800 Subject: [PATCH] chore: doc issue (#1062) --- api/README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/api/README.md b/api/README.md index 1e1e930832..c9d2946c54 100644 --- a/api/README.md +++ b/api/README.md @@ -54,9 +54,11 @@ 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 -Q dataset,generation,mail`, celery can do dataset importing and other async tasks. -8. Start frontend: +8. Start frontend + + You can start the frontend by running `npm install && npm run dev` in web/ folder, or you can use docker to start the frontend, for example: ``` - docker run -it -d --platform linux/amd64 -p 3000:3000 -e EDITION=SELF_HOSTED -e CONSOLE_URL=http://127.0.0.1:5000 --name web-self-hosted langgenius/dify-web:latest + docker run -it -d --platform linux/amd64 -p 3000:3000 -e EDITION=SELF_HOSTED -e CONSOLE_URL=http://127.0.0.1:5001 --name web-self-hosted langgenius/dify-web:latest ``` This will start a dify frontend, now you are all set, happy coding! \ No newline at end of file