2 Star 8 Fork 1

Bytedance Inc./deer-flow

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
bootstrap.sh 499 Bytes
一键复制 编辑 原始数据 按行查看 历史
He Tao 提交于 2025-04-23 12:17 +08:00 . feat: refine the server bootstrap script
#!/bin/bash
# Start both of DeerFlow's backend and web UI server.
# If the user presses Ctrl+C, kill them both.
if [ "$1" = "--dev" -o "$1" = "-d" -o "$1" = "dev" -o "$1" = "development" ]; then
echo -e "Starting DeerFlow in [DEVELOPMENT] mode...\n"
uv run server.py --reload & SERVER_PID=$$!
cd web && pnpm dev & WEB_PID=$$!
trap "kill $$SERVER_PID $$WEB_PID" SIGINT SIGTERM
wait
else
echo -e "Starting DeerFlow in [PRODUCTION] mode...\n"
uv run server.py
cd web && pnpm start
fi
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ByteDance/deer-flow.git
git@gitee.com:ByteDance/deer-flow.git
ByteDance
deer-flow
deer-flow
main

搜索帮助