更新命令

This commit is contained in:
2025-12-16 09:45:06 +08:00
parent 763de9f39a
commit b3d82fd463
3 changed files with 2 additions and 2 deletions

22
launch_backend.bat Normal file
View File

@@ -0,0 +1,22 @@
@echo off
echo ================================
echo Hertz Django
echo ================================
echo activate venv
call venv\Scripts\activate
if %errorlevel% neq 0 (
echo Please run: init_project.bat
pause
exit /b 1
)
start "Hertz Backend" /D "%cd%" cmd /c "python start_server.py"
echo ================================
echo Hertz Django Starting Successful
echo Please wait for the server to start...
echo ================================
pause >nul