Files
yixiaogao/启动Web系统.bat
2025-11-27 18:40:08 +08:00

50 lines
1.3 KiB
Batchfile
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@echo off
chcp 65001 >nul
cls
echo ===============================================
echo 🚀 微信公众号文章爬虫 - Web系统启动器
echo ===============================================
echo.
echo 正在启动系统,请稍候...
echo.
:: 启动API服务器后台运行
echo [1/2] 启动 API 服务器...
cd backend\api
start "微信爬虫-API服务器" cmd /c "start_api.bat"
cd ..\..
timeout /t 2 /nobreak >nul
:: 启动前端服务器
echo [2/2] 启动 前端服务器...
cd frontend
start "微信爬虫-前端服务器" cmd /c "start_web.bat"
cd ..
echo.
echo ===============================================
echo ✅ 系统启动完成!
echo ===============================================
echo.
echo 📝 重要提示:
echo.
echo 1⃣ API服务器: http://localhost:8080
echo - 提供后端接口服务
echo - 窗口标题: "微信爬虫-API服务器"
echo.
echo 2⃣ 前端界面: http://localhost:8000
echo - Web操作界面
echo - 窗口标题: "微信爬虫-前端服务器"
echo.
echo ⚠️ 请不要关闭这两个窗口!
echo.
echo 💡 使用说明:
echo - 浏览器会自动打开前端界面
echo - 如未自动打开,请手动访问 http://localhost:8000
echo - 使用完毕后,关闭两个服务器窗口即可
echo.
echo ===============================================
pause