You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
480 B
20 lines
480 B
@echo off
|
|
echo 启动代码漏洞检测系统...
|
|
echo.
|
|
|
|
echo 1. 启动后端服务...
|
|
start "后端服务" cmd /k "cd backend && python -m pip install -r requirements.txt && python main.py"
|
|
|
|
echo 等待后端服务启动...
|
|
timeout /t 5 /nobreak >nul
|
|
|
|
echo 2. 启动前端服务...
|
|
start "前端服务" cmd /k "cd frontend && npm install && npm start"
|
|
|
|
echo.
|
|
echo 系统启动完成!
|
|
echo 后端服务: http://localhost:8000
|
|
echo 前端服务: http://localhost:3000
|
|
echo.
|
|
pause
|