第二版
This commit is contained in:
25
start.bat
Normal file
25
start.bat
Normal file
@@ -0,0 +1,25 @@
|
||||
@echo off
|
||||
chcp 65001 >nul
|
||||
echo ============================================================
|
||||
echo SDLC Agent Demo - Quick Start Script
|
||||
echo ============================================================
|
||||
echo.
|
||||
|
||||
REM Check if .env file exists
|
||||
if not exist ".env" (
|
||||
echo [WARNING] .env file not found!
|
||||
echo Please copy .env.example to .env and configure your API key:
|
||||
echo copy .env.example .env
|
||||
echo.
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo [INFO] Starting FastAPI server...
|
||||
echo [INFO] Access URL: http://localhost:8000/static/index.html
|
||||
echo [INFO] Press Ctrl+C to stop the server
|
||||
echo.
|
||||
|
||||
python -m uvicorn main:app --reload --host 0.0.0.0 --port 8000
|
||||
|
||||
pause
|
||||
Reference in New Issue
Block a user