feat(docs): Expand skills and runbooks sections in VitePress configuration
- Added new 'Skills' and 'Runbooks' sections to both English and Vietnamese documentation, enhancing the navigation structure. - Included detailed items under the 'Skills' section, covering various topics such as API Design, Caching Patterns, and Testing Patterns. - Updated sidebar configurations to improve user experience and accessibility of resources. - Removed outdated onboarding guides to streamline documentation and focus on relevant content.
This commit is contained in:
@@ -1,89 +0,0 @@
|
||||
# Hướng Dẫn Cho Developer Mới
|
||||
|
||||
Chào mừng đến với team GoodGo Microservices Platform!
|
||||
|
||||
## Checklist Ngày Đầu Tiên
|
||||
|
||||
- [ ] Quyền truy cập GitHub repository
|
||||
- [ ] Quyền truy cập môi trường development
|
||||
- [ ] Docker đã cài đặt và đang chạy
|
||||
- [ ] Node.js và PNPM đã cài đặt
|
||||
- [ ] IDE đã cấu hình (khuyến nghị VS Code)
|
||||
- [ ] Đã đọc hướng dẫn này
|
||||
|
||||
## Thiết Lập Môi Trường Development
|
||||
|
||||
1. **Clone repository**
|
||||
```bash
|
||||
git clone <repository-url>
|
||||
cd Base
|
||||
```
|
||||
|
||||
2. **Chạy script khởi tạo**
|
||||
```bash
|
||||
./scripts/setup/init-project.sh
|
||||
```
|
||||
|
||||
3. **Khởi động infrastructure local**
|
||||
```bash
|
||||
cd deployments/local
|
||||
docker-compose up -d
|
||||
```
|
||||
|
||||
4. **Xác minh setup**
|
||||
- Kiểm tra Traefik: http://localhost:8080
|
||||
- Kiểm tra API: http://localhost/api/v1/health
|
||||
|
||||
## Công Cụ Development
|
||||
|
||||
### VS Code Extensions Khuyến Nghị
|
||||
|
||||
- ESLint
|
||||
- Prettier
|
||||
- Prisma
|
||||
- Docker
|
||||
- GitLens
|
||||
|
||||
### Các Lệnh Hữu Ích
|
||||
|
||||
```bash
|
||||
# Khởi động tất cả services
|
||||
./scripts/dev/start-all.sh
|
||||
|
||||
# Khởi động service cụ thể
|
||||
./scripts/dev/start-service.sh iam-service
|
||||
|
||||
# Xem logs
|
||||
./scripts/dev/logs.sh iam-service
|
||||
|
||||
# Chạy migrations
|
||||
./scripts/db/migrate.sh iam-service dev
|
||||
|
||||
# Chạy tests
|
||||
pnpm test
|
||||
```
|
||||
|
||||
## Tiêu Chuẩn Code
|
||||
|
||||
- **TypeScript**: Bật strict mode
|
||||
- **Linting**: ESLint với shared config
|
||||
- **Formatting**: Prettier
|
||||
- **Commits**: Định dạng Conventional Commits
|
||||
- **Tests**: Tối thiểu 80% coverage
|
||||
|
||||
## Tìm Kiếm Trợ Giúp
|
||||
|
||||
- Xem [Tài Liệu](../guides/)
|
||||
- Hỏi trong Slack channel của team
|
||||
- Xem lại các ví dụ code hiện có
|
||||
- Pair với senior developer
|
||||
|
||||
## Các Bước Tiếp Theo
|
||||
|
||||
1. Chọn một task nhỏ từ backlog
|
||||
2. Tạo feature branch
|
||||
3. Implement và test
|
||||
4. Tạo pull request
|
||||
5. Nhận code review
|
||||
|
||||
Chúc may mắn! 🚀
|
||||
8
docs/vi/runbooks/index.md
Normal file
8
docs/vi/runbooks/index.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# Runbooks
|
||||
|
||||
Runbooks vận hành cho xử lý sự cố và các quy trình phổ biến.
|
||||
|
||||
## Runbooks có sẵn
|
||||
|
||||
- [Xử lý sự cố](./incident-response) - Cách xử lý các sự cố production
|
||||
- [Quy trình Rollback](./rollback-procedure) - Cách rollback deployments an toàn
|
||||
Reference in New Issue
Block a user