Files

19 lines
531 B
Batchfile
Raw Permalink Blame History

This file contains ambiguous Unicode characters
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
REM ============================================================
REM CareerNexus 职联 启动脚本(Windows)
REM 直接通过项目内 .venv 启动服务,自动打开浏览器
REM 首次使用请先运行 init.bat
REM ============================================================
cd /d "%~dp0"
if not exist ".venv\Scripts\python.exe" (
echo [错误] 未找到 .venv,请先运行 init.bat 完成初始化
pause
exit /b 1
)
echo 启动 CareerNexus 职联 ...
echo 服务地址 http://127.0.0.1:9008
.venv\Scripts\python.exe main.py
pause