- Configure environment variables if needed:
$env:DB_URL="jdbc:mysql://localhost:3306/paper_system?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai"
$env:DB_USERNAME="root"
$env:DB_PASSWORD="your-password"
$env:JWT_SECRET="your-jwt-secret"- Start backend:
mvn spring-boot:run- Open:
- Frontend:
http://localhost:2008/ - Admin:
http://localhost:2008/admin
cd frontend
npm install
npm run devOpen http://127.0.0.1:5173/.
This project lives in a non-ASCII local path, which can make git push unstable on some Windows setups.
Use the helper script from the project root:
powershell -ExecutionPolicy Bypass -File .\scripts\publish-github.ps1 -CommitMessage "your update message"The script copies the safe project files to C:\temp\EditorAdmin_upload, commits there, and pushes to:
https://github.com/CSY-s/EditorAdmin.git