Skip to content

미니PC 웹 배포 스크립트 추가#19

Merged
SmileJune merged 2 commits into
mainfrom
ai/mini-pc-web-deploy-script
Jun 1, 2026
Merged

미니PC 웹 배포 스크립트 추가#19
SmileJune merged 2 commits into
mainfrom
ai/mini-pc-web-deploy-script

Conversation

@SmileJune

Copy link
Copy Markdown
Owner

승인된 내용

사용자가 추천 작업 순서대로 진행하도록 요청했고, 첫 작업으로 미니PC 웹 배포 절차를 스크립트화했습니다.

변경 사항

  • scripts/deploy/mini-pc-web.sh를 추가해 Next.js static export 빌드, mini PC rsync 동기화, 공개 엔드포인트 스모크 체크를 한 번에 실행하도록 했습니다.
  • 운영 기본값을 https://techcase.dadamda.site, home-2, /home/godhkekf24/apps/techcase/current/apps/web/out으로 설정했습니다.
  • 운영 공개 URL에 배포하면서 NEXT_PUBLIC_API_BASE_URLlocalhost 또는 127.0.0.1이면 배포를 중단하도록 했습니다.
  • docs/mini-pc-web-deploy.md를 추가하고 README, 개발 계획, 개발 로그에 관련 문서를 연결했습니다.

의도적으로 제외한 것

  • 운영 Caddy, systemd, Docker, DB, Elasticsearch 설정은 변경하지 않았습니다.
  • 실제 mini PC 파일 동기화 배포는 실행하지 않고 rsync --dry-run까지만 검증했습니다.
  • 백엔드 배포 자동화는 포함하지 않았습니다.

검증

  • bash -n scripts/deploy/mini-pc-web.sh
  • scripts/deploy/mini-pc-web.sh --help
  • NEXT_PUBLIC_API_BASE_URL=http://localhost:8000 scripts/deploy/mini-pc-web.sh --dry-run --skip-build --skip-smoke -> 로컬 API URL 차단 확인
  • scripts/deploy/mini-pc-web.sh --dry-run --skip-smoke -> 운영 API URL로 웹 빌드 성공, 원격 rsync dry-run 성공
  • scripts/deploy/mini-pc-web.sh --smoke-only -> 운영 /, /health, /api/search, /api/suggest 스모크 체크 성공

사람이 확인할 방법

  1. PR 브랜치를 체크아웃합니다.
  2. scripts/deploy/mini-pc-web.sh --dry-run --skip-smoke로 빌드와 원격 dry-run을 확인합니다.
  3. scripts/deploy/mini-pc-web.sh --smoke-only로 운영 엔드포인트를 확인합니다.
  4. 실제 웹 배포가 필요할 때만 scripts/deploy/mini-pc-web.sh를 실행합니다.

@coderabbitai

coderabbitai Bot commented Jun 1, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@SmileJune, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 19 minutes and 7 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 08dd34d2-bd51-4e62-917f-d4f6af0b9063

📥 Commits

Reviewing files that changed from the base of the PR and between cf54345 and 7faa005.

📒 Files selected for processing (5)
  • README.md
  • docs/development-log.md
  • docs/development.md
  • docs/mini-pc-web-deploy.md
  • scripts/deploy/mini-pc-web.sh
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ai/mini-pc-web-deploy-script

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@SmileJune SmileJune marked this pull request as ready for review June 1, 2026 06:12
@SmileJune SmileJune merged commit c5abd6b into main Jun 1, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant