chore: add remaining test docs, scripts and temp files
- Add Git commit preparation checklist - Add Phase testing guides and issue tracking - Add utility scripts (env setup, test data initialization) - Add temp migration SQL files (for reference) - Update startup scripts and README - Remove obsolete scripts
This commit is contained in:
63
backend/初始化测试用户.bat
Normal file
63
backend/初始化测试用户.bat
Normal file
@@ -0,0 +1,63 @@
|
||||
@echo off
|
||||
chcp 65001 > nul
|
||||
echo.
|
||||
echo ========================================
|
||||
echo 初始化测试用户
|
||||
echo ========================================
|
||||
echo.
|
||||
|
||||
cd /d "%~dp0"
|
||||
|
||||
echo [1/1] 正在初始化测试用户数据...
|
||||
call npm run prisma:seed
|
||||
|
||||
echo.
|
||||
echo ========================================
|
||||
echo 初始化完成!
|
||||
echo ========================================
|
||||
echo.
|
||||
echo 测试账号信息:
|
||||
echo 邮箱: test@example.com
|
||||
echo 密码: password123
|
||||
echo 用户ID: user-mock-001
|
||||
echo.
|
||||
echo 管理员账号信息:
|
||||
echo 邮箱: admin@example.com
|
||||
echo 密码: password123
|
||||
echo 用户ID: user-admin-001
|
||||
echo.
|
||||
echo 现在可以创建知识库了!
|
||||
echo.
|
||||
|
||||
pause
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user