From 1e19560e0621f855783c6fa22a1f214e9073b3bd Mon Sep 17 00:00:00 2001 From: Barry <91018388+barry166@users.noreply.github.com> Date: Wed, 25 Nov 2026 17:00:32 +0800 Subject: [PATCH] docs: run quickstart checks after cloning (#8618) The local check target exists only in the checkout. Use the built-in config bootstrap so first-time readers also get the environment templates. --- .../content/en/application/quick-start.mdx | 21 ++++++++++++------- .../content/zh/application/quick-start.mdx | 21 ++++++++++++------- 2 files changed, 26 insertions(+), 16 deletions(-) diff --git a/frontend/src/content/en/application/quick-start.mdx b/frontend/src/content/en/application/quick-start.mdx index 3e67e5042e..4df1bf491c 100644 --- a/frontend/src/content/en/application/quick-start.mdx +++ b/frontend/src/content/en/application/quick-start.mdx @@ -16,13 +16,7 @@ This guide walks you through starting DeerFlow App on your local machine using t ## Prerequisites -Check that all required tools are installed: - -```bash -make check -``` - -Required: +Install Git, Make, and the following tools: | Tool | Minimum version | | ------- | ------------------ | @@ -45,6 +39,14 @@ git clone https://github.com/bytedance/deer-flow.git cd deer-flow ``` +### Check your tools + +From the repository root, run: + +```bash +make check +``` + ### Install dependencies ```bash @@ -56,9 +58,12 @@ This installs both backend Python dependencies (via `uv`) and frontend Node.js d ### Create your config file ```bash -cp config.example.yaml config.yaml +make config ``` +This creates `config.yaml` from its template and creates the root and frontend +`.env` files if they are missing. + Then edit `config.yaml` to add at least one model. The minimum change is adding a model under the `models:` section: ```yaml diff --git a/frontend/src/content/zh/application/quick-start.mdx b/frontend/src/content/zh/application/quick-start.mdx index 1ed0ac423b..c383083cbf 100644 --- a/frontend/src/content/zh/application/quick-start.mdx +++ b/frontend/src/content/zh/application/quick-start.mdx @@ -16,13 +16,7 @@ import { Callout, Steps } from "nextra/components"; ## 前置条件 -检查所有必需工具是否已安装: - -```bash -make check -``` - -必需工具: +安装 Git、Make 和以下工具: | 工具 | 最低版本 | | ------- | ------------ | @@ -45,6 +39,14 @@ git clone https://github.com/bytedance/deer-flow.git cd deer-flow ``` +### 检查工具 + +在仓库根目录运行: + +```bash +make check +``` + ### 安装依赖 ```bash @@ -56,9 +58,12 @@ make install ### 创建配置文件 ```bash -cp config.example.yaml config.yaml +make config ``` +此命令会从模板创建 `config.yaml`,并在仓库根目录和前端目录中创建缺失的 +`.env` 文件。 + 然后编辑 `config.yaml` 至少添加一个模型: ```yaml