From 73ad4705bc11aaad97bbdfc28a6d84d24c8d7e4a Mon Sep 17 00:00:00 2001 From: "sungjin.choi" Date: Wed, 25 Nov 2026 15:47:44 +0900 Subject: [PATCH] =?UTF-8?q?docs=20:=20CLAUDE.md=EC=97=90=20=EB=B0=B0?= =?UTF-8?q?=ED=8F=AC=20=ED=9D=90=EB=A6=84(GitHub=20=E2=86=92=20Gitea=20?= =?UTF-8?q?=EB=8F=99=EA=B8=B0=ED=99=94=20=E2=86=92=20runner=20=EB=B0=B0?= =?UTF-8?q?=ED=8F=AC)=EA=B3=BC=20=EB=B0=B1=EC=97=94=EB=93=9C=20JDK=20?= =?UTF-8?q?=EC=9A=94=EA=B5=AC=EC=82=AC=ED=95=AD=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- CLAUDE.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index 5479674..cd1f43a 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -6,7 +6,8 @@ - 구조: `src/app` (페이지, `_components`), `src/features/<기능>/` (components, lib, constants, mocks, types) - `output: "export"` 정적 빌드 → nginx로 서비스. **API Route·Server Action·서버 렌더링 기능 사용 불가** - 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가 함께 바뀌면 둘 다 푸시해야 함 # 작업 규칙