docs : CLAUDE.md에 배포 흐름(GitHub → Gitea 동기화 → runner 배포)과 백엔드 JDK 요구사항 추가
SpecialSource Frontend (React) CD / deploy (push) Successful in 13s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
headporterandClaude Opus 5.5 committed 2026-11-25 15:47:44 +09:00
1 parent cbc41ef444
commit 73ad4705bc
1 file changed
+2 -1
+2 -1
View File
@@ -6,7 +6,8 @@
- 구조: `src/app` (페이지, `_components`), `src/features/<기능>/` (components, lib, constants, mocks, types) - 구조: `src/app` (페이지, `_components`), `src/features/<기능>/` (components, lib, constants, mocks, types)
- `output: "export"` 정적 빌드 → nginx로 서비스. **API Route·Server Action·서버 렌더링 기능 사용 불가** - `output: "export"` 정적 빌드 → nginx로 서비스. **API Route·Server Action·서버 렌더링 기능 사용 불가**
- API 호출: 개발 `http://localhost:8080`, 운영은 nginx `/api` → 백엔드 `:18080` (8080 아님: 리다이렉트 루프 발생). `NEXT_PUBLIC_API_URL`로 덮어쓰기 가능 - API 호출: 개발 `http://localhost:8080`, 운영은 nginx `/api` → 백엔드 `:18080` (8080 아님: 리다이렉트 루프 발생). `NEXT_PUBLIC_API_URL`로 덮어쓰기 가능
- 백엔드(Java): `C:\IdeaProjects\specialsource-homepage-backend` (PC마다 다르면 수정) - 백엔드(Java): `C:\IdeaProjects\specialsource-homepage-backend` (PC마다 다르면 수정). 빌드는 JDK 17+ 필요 (PC 기본 java가 8이면 `JAVA_HOME` 지정)
- 배포: GitHub에 푸시(프론트 `main`, 백엔드 `master`) → 개인 Gitea로 자동 동기화 → Gitea runner가 자동 배포. **푸시 = 운영 배포**이므로, 프론트·백엔드 API가 함께 바뀌면 둘 다 푸시해야 함
# 작업 규칙 # 작업 규칙