Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
fastfive-dev
cms-ai-helper
Repository navigation
Code
Pull requests
1
(1)
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
main
Breadcrumbs
cms-ai-helper
/
deploy.sh
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
executable file
·
55 lines (46 loc) · 1.54 KB
main
Breadcrumbs
cms-ai-helper
/
deploy.sh
Copy path
Top
File metadata and controls
Code
Blame
executable file
·
55 lines (46 loc) · 1.54 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/bin/bash
# cms-ai-helper 배포 스크립트
# 맥 미니 서버에서 실행하세요.
set -euo pipefail
echo "=== cms-ai-helper 배포 ==="
# 1. Docker 확인
if ! command -v docker &>/dev/null; then
echo "❌ Docker가 설치되어 있지 않습니다."
echo " brew install --cask docker 로 설치 후 Docker Desktop을 실행하세요."
exit 1
fi
if ! docker info &>/dev/null; then
echo "❌ Docker Desktop이 실행 중이 아닙니다. 먼저 실행해주세요."
exit 1
fi
echo "✓ Docker 확인 완료"
# 2. .env 파일 확인
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
cd "$SCRIPT_DIR"
if [ ! -f .env ]; then
echo ""
echo "⚠ .env 파일이 없습니다. ANTHROPIC_API_KEY를 입력해주세요."
read -rp "ANTHROPIC_API_KEY: " API_KEY
echo "ANTHROPIC_API_KEY=${API_KEY}" > .env
echo "✓ .env 파일 생성 완료"
else
echo "✓ .env 파일 확인 완료"
fi
# 3. 기존 claude-serve launchd 서비스 중지
if launchctl list 2>/dev/null | grep -q "com.claude-serve"; then
echo "기존 claude-serve launchd 서비스 중지 중..."
launchctl bootout "gui/$(id -u)/com.claude-serve" 2>/dev/null || true
echo "✓ 기존 서비스 중지 완료"
fi
# 4. 빌드 & 실행
echo ""
echo "Docker Compose 빌드 & 실행 중..."
docker compose down 2>/dev/null || true
docker compose up -d --build
echo ""
echo "=== 배포 완료 ==="
echo " 서버: http://localhost:4098"
echo " claude-serve: http://localhost:4097"
echo ""
echo " 로그 확인: docker compose logs -f"
echo " 중지: docker compose down"
You can’t perform that action at this time.