docs:update readme

This commit is contained in:
Bingxi Zhao (Frank)
2026-06-14 00:53:57 +08:00
parent e7e38063b8
commit 069ba53a00
22 changed files with 1109 additions and 672 deletions

24
scripts/start_backend.bat Normal file
View File

@@ -0,0 +1,24 @@
@echo off
REM DeepTutor Backend Startup Script
REM Activates virtual environment and starts the backend API server
REM Move to the project root (this script lives in scripts/)
cd /d "%~dp0.."
REM Set UTF-8 encoding for stdout to support emoji characters
set PYTHONIOENCODING=utf-8
set PYTHONUTF8=1
echo Activating Python virtual environment...
call .venv\Scripts\activate.bat
if errorlevel 1 (
echo ERROR: Failed to activate virtual environment. Make sure .venv exists.
pause
exit /b 1
)
echo Starting DeepTutor Backend Server...
echo Backend will be available at: http://localhost:8001
echo Press Ctrl+C to stop the server.
python -m deeptutor.api.run_server
pause

View File

@@ -0,0 +1,12 @@
@echo off
REM DeepTutor Frontend Startup Script
REM Starts the frontend Next.js development server
REM Move to the project root (this script lives in scripts/)
cd /d "%~dp0.."
echo Starting DeepTutor Frontend...
echo Frontend will be available at: http://localhost:3782
echo Press Ctrl+C to stop the server.
cd web
npm run dev -- -p 3782
pause