Commit 15bed0c
feat(demo): 운영 사이트용 추가 콘텐츠 시더(강사/강의/리뷰/커뮤니티/스터디·채팅)
- scripts/seed_content.py: 신규 ID 대역(강사 9240~9259 / 학생풀 9300~9349)만 쓰는
독립 추가 시더. 페르소나/기존 시드(9200~9229)는 미접촉. wipe도 신규 대역만.
대표 12과목 강의(subject=SubjectType enum명 → 과목필터 매칭), 리뷰, 커뮤니티
(자유/질문 채택·대기), 스터디(모집중/마감)+채팅방·메시지 시드. 영상=archive.org.
- scripts/upload_demo_thumbs.py: 로컬 썸네일 리사이즈(640x360) + aws CLI로 S3 업로드.
- scripts/demo_content_thumbnails.py + demo_content_thumbs/*.jpg: 리사이즈 산출물·키매핑.
- 앱이 import하지 않는 스크립트라 서버 동작 무영향(수동 호출 시에만 실행).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent a898ed8 commit 15bed0c
14 files changed
Lines changed: 678 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
0 commit comments