-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstart.bat
More file actions
29 lines (24 loc) · 801 Bytes
/
start.bat
File metadata and controls
29 lines (24 loc) · 801 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
@echo off
chcp 65001 >nul
REM MuMuAINovel startup script (Windows)
echo ========================================
echo Starting MuMuAINovel...
echo ========================================
REM Change to backend directory
cd /d "%~dp0backend"
REM Set UTF-8 encoding mode for Python
set PYTHONUTF8=1
REM Start application
echo Starting application...
uvicorn app.main:app --host 0.0.0.0 --port 8000
REM If uvicorn fails, show error message
if errorlevel 1 (
echo.
echo ========================================
echo Startup failed, please check:
echo 1. Dependencies installed: pip install -r requirements.txt
echo 2. Database file exists: ..\data\mumuai_novel.db
echo 3. Port 8000 is available
echo ========================================
pause
)