mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-11-27 17:00:37 +00:00
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.
This commit is contained in:
parent
2629c0bb78
commit
1e19560e06
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user