Add university scraper system with backend, frontend, and configs
- Add src/university_scraper module with scraper, analyzer, and CLI - Add backend FastAPI service with API endpoints and database models - Add frontend React app with university management pages - Add configs for Harvard, Manchester, and UCL universities - Add artifacts with various scraper implementations - Add Docker compose configuration for deployment - Update .gitignore to exclude generated files 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
42
scripts/start_dev.bat
Normal file
42
scripts/start_dev.bat
Normal file
@ -0,0 +1,42 @@
|
||||
@echo off
|
||||
echo ============================================================
|
||||
echo 大学爬虫 Web 系统 - 本地开发启动
|
||||
echo ============================================================
|
||||
|
||||
echo.
|
||||
echo 启动后端API服务...
|
||||
cd /d "%~dp0..\backend"
|
||||
|
||||
REM 安装后端依赖
|
||||
pip install -r requirements.txt -q
|
||||
|
||||
REM 启动后端
|
||||
start cmd /k "cd /d %~dp0..\backend && uvicorn app.main:app --reload --port 8000"
|
||||
|
||||
echo 后端已启动: http://localhost:8000
|
||||
echo API文档: http://localhost:8000/docs
|
||||
|
||||
echo.
|
||||
echo 启动前端服务...
|
||||
cd /d "%~dp0..\frontend"
|
||||
|
||||
REM 安装前端依赖
|
||||
if not exist node_modules (
|
||||
echo 安装前端依赖...
|
||||
npm install
|
||||
)
|
||||
|
||||
REM 启动前端
|
||||
start cmd /k "cd /d %~dp0..\frontend && npm run dev"
|
||||
|
||||
echo 前端已启动: http://localhost:3000
|
||||
|
||||
echo.
|
||||
echo ============================================================
|
||||
echo 系统启动完成!
|
||||
echo.
|
||||
echo 后端API: http://localhost:8000/docs
|
||||
echo 前端页面: http://localhost:3000
|
||||
echo ============================================================
|
||||
|
||||
pause
|
||||
Reference in New Issue
Block a user