|
@@ -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!
|