From ed4c4394979dbbf35c7ba41f59e9d5c6c5ae6270 Mon Sep 17 00:00:00 2001 From: Shengsheng Huang Date: Thu, 20 Jun 2024 10:38:20 +0800 Subject: [PATCH] small fix (#11366) --- .../doc/LLM/Quickstart/ragflow_quickstart.md | 31 ++++++++++++++----- 1 file changed, 24 insertions(+), 7 deletions(-) diff --git a/docs/readthedocs/source/doc/LLM/Quickstart/ragflow_quickstart.md b/docs/readthedocs/source/doc/LLM/Quickstart/ragflow_quickstart.md index b9b042ea..4bb252b9 100644 --- a/docs/readthedocs/source/doc/LLM/Quickstart/ragflow_quickstart.md +++ b/docs/readthedocs/source/doc/LLM/Quickstart/ragflow_quickstart.md @@ -109,12 +109,29 @@ Build the pre-built Docker images and start up the server: Running the following commands automatically downloads the *dev* version RAGFlow Docker image. To download and run a specified Docker version, update `RAGFLOW_VERSION` in **docker/.env** to the intended version, for example `RAGFLOW_VERSION=v0.7.0`, before running the following commands. ``` -```bash -$ export no_proxy=localhost,127.0.0.1 -$ cd ragflow/docker -$ chmod +x ./entrypoint.sh -$ docker compose up -d -``` +```eval_rst +.. tabs:: + .. tab:: Linux + + .. code-block:: bash + + export no_proxy=localhost,127.0.0.1 + cd ragflow/docker + chmod +x ./entrypoint.sh + docker compose up -d + + .. tab:: Windows + + Please run the following command in Miniforge or Anaconda Prompt. + + .. code-block:: cmd + + set no_proxy=localhost,127.0.0.1 + cd ragflow/docker + chmod +x ./entrypoint.sh + docker compose up -d + + ```eval_rst .. note:: @@ -145,7 +162,7 @@ INFO:werkzeug:Press CTRL+C to quit ``` -Open a browser and navigate to the URL displayed in the terminal logs. Look for messages like `Running on http://ip:port`. For local deployment, you can usually access the web portal at `http://127.0.0.1:9380`. For remote access, use `http://your_ip:9380`. +You can now open a browser and access the RAGflow web portal. With the default settings, simply enter `http://IP_OF_YOUR_MACHINE` (without the port number), as the default HTTP serving port `80` can be omitted. If RAGflow is deployed on the same machine as your browser, you can also access the web portal at `http://127.0.0.1` or `http://localhost`. ### 4. Using `RAGFlow`