This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# =============================================================================
|
||||
# AI Agent 启动与管理脚本
|
||||
# 用法: ./start.sh [check|backend|frontend|both|docker-up|docker-down]
|
||||
# 用法: ./backend/scripts/start.sh both [check|backend|frontend|both|docker-up|docker-down]
|
||||
# =============================================================================
|
||||
|
||||
set -e
|
||||
@@ -308,7 +308,7 @@ start_frontend() {
|
||||
set +a
|
||||
|
||||
export PYTHONPATH="$PROJECT_DIR"
|
||||
streamlit run frontend/frontend_main.py &
|
||||
streamlit run frontend/src/frontend_main.py &
|
||||
FRONTEND_PID=$!
|
||||
echo -e "${GREEN}✓ 前端服务已启动 (PID: $FRONTEND_PID)${NC}"
|
||||
echo -e "${GREEN}✓ 访问地址:${NC}"
|
||||
|
||||
Reference in New Issue
Block a user