mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-06-06 09:14:03 +08:00
* cursorrules * fixed: ldap同步的部门记录name记录错误 * 主题色一致 * changelog * admin接入ldap同步数据统计 * ldap同步数据记录接口合并 * fixed: 已同步被禁用用户的DN更新 * 已经同步的LDAP用户被禁止可以继续更新 * 优化代码 * 新增LDAP同步的详细记录 * 新增LDAP禁止用户的数据量统计 * 优化LDAP拉取数据的重复使用 * 优化LDAP同步 * ldap同步记录 * cursor rules
46 lines
1.5 KiB
Plaintext
46 lines
1.5 KiB
Plaintext
---
|
|
description:
|
|
globs:
|
|
alwaysApply: false
|
|
---
|
|
# PlayEdu Development Workflow
|
|
|
|
This guide outlines the workflow for developing and running the PlayEdu API.
|
|
|
|
## Local Development Setup
|
|
1. Clone the repository
|
|
2. Use Docker Compose to run the application: `docker-compose up -d`
|
|
3. Access points:
|
|
- API: `http://localhost:9700`
|
|
- Admin backend: `http://localhost:9900` (default credentials: `admin@playedu.xyz / playedu`)
|
|
- PC web interface: `http://localhost:9800`
|
|
- H5 mobile interface: `http://localhost:9801`
|
|
|
|
## Main Entry Points
|
|
- [PlayeduApiApplication.java](mdc:playedu-api/playedu-api/src/main/java/xyz/playedu/api/PlayeduApiApplication.java) - Main application class
|
|
- [application.yml](mdc:playedu-api/playedu-api/src/main/resources/application.yml) - Configuration
|
|
|
|
## Tech Stack
|
|
- Java with Spring Boot 3
|
|
- MySQL database
|
|
- Redis for caching
|
|
- MyBatis for data access
|
|
- Docker for containerization
|
|
|
|
## Development Best Practices
|
|
- Follow existing code structure when adding new features
|
|
- Add unit tests for new functionality
|
|
- Maintain module separation of concerns
|
|
- Use existing utility classes from `playedu-common`
|
|
|
|
## Build Process
|
|
To build the application:
|
|
1. Use Maven: `mvn clean package`
|
|
2. Build Docker image: `docker build -t playedu-api .`
|
|
3. Run in development mode: `docker-compose up -d`
|
|
|
|
## Version Control
|
|
- Follow standard Git workflow with feature branches
|
|
- Create pull requests for significant changes
|
|
- Update CHANGELOG.md for version releases
|