docs: Update README with separate installation commands
✨ 변경사항: - code-server 설치 명령어를 각각 분리된 코드 블록으로 구성 - URL을 현재 리포지토리(pve9-repo-fix)로 변경 - Claude Code CLI 설치 섹션 추가 📝 개선사항: - 복사하기 버튼으로 각 명령어 개별 복사 가능 - 기본 설치 / 포트 지정 / 무인 설치 명령어 분리 - 수동 설치 가이드 추가 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
2780b5cf14
commit
1baba8626b
49
README.md
49
README.md
@ -114,21 +114,21 @@ grep -r "enterprise.proxmox.com" /etc/apt/sources.list.d/
|
|||||||
```
|
```
|
||||||
## 💻 개발 환경 설정 (code-server)
|
## 💻 개발 환경 설정 (code-server)
|
||||||
|
|
||||||
팜큐 네트워크에 연결된 서버에서 **웹 기반 VS Code 개발 환경**을 빠르게 구축:
|
서버에서 **웹 기반 VS Code 개발 환경**을 빠르게 구축:
|
||||||
|
|
||||||
### 한 줄 설치 (권장)
|
### 기본 설치 (포트 8080)
|
||||||
```bash
|
```bash
|
||||||
# 기본 포트 8080으로 설치
|
curl -fsSL https://git.0bin.in/thug0bin/pve9-repo-fix/raw/branch/main/code-server.sh | bash
|
||||||
curl -fsSL https://git.0bin.in/thug0bin/headscale-tailscale-replacement/raw/branch/live/pharmq-headscale-production/docs/code-server.sh | bash
|
|
||||||
|
|
||||||
# 포트 지정 설치 (예: 8443)
|
|
||||||
curl -fsSL https://git.0bin.in/thug0bin/headscale-tailscale-replacement/raw/branch/live/pharmq-headscale-production/docs/code-server.sh | PORT=8443 bash
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### 무인 설치 (비밀번호 환경변수 설정)
|
### 포트 지정 설치
|
||||||
```bash
|
```bash
|
||||||
# 비밀번호를 환경변수로 전달
|
curl -fsSL https://git.0bin.in/thug0bin/pve9-repo-fix/raw/branch/main/code-server.sh | PORT=8443 bash
|
||||||
curl -fsSL https://git.0bin.in/thug0bin/headscale-tailscale-replacement/raw/branch/live/pharmq-headscale-production/docs/code-server.sh | PASSWORD="your-secure-password" SKIP_CONFIRM=1 bash
|
```
|
||||||
|
|
||||||
|
### 무인 설치 (비밀번호 환경변수)
|
||||||
|
```bash
|
||||||
|
curl -fsSL https://git.0bin.in/thug0bin/pve9-repo-fix/raw/branch/main/code-server.sh | PASSWORD="your-secure-password" SKIP_CONFIRM=1 bash
|
||||||
```
|
```
|
||||||
|
|
||||||
### 자동 설치 기능
|
### 자동 설치 기능
|
||||||
@ -142,6 +142,35 @@ curl -fsSL https://git.0bin.in/thug0bin/headscale-tailscale-replacement/raw/bran
|
|||||||
```bash
|
```bash
|
||||||
# 브라우저에서 접속
|
# 브라우저에서 접속
|
||||||
http://<서버IP>:8080
|
http://<서버IP>:8080
|
||||||
|
```
|
||||||
|
|
||||||
|
## 🤖 Claude Code CLI 설치
|
||||||
|
|
||||||
|
**AI 기반 개발 도구**를 서버에 설치:
|
||||||
|
|
||||||
|
### 기본 설치
|
||||||
|
```bash
|
||||||
|
curl -fsSL https://git.0bin.in/thug0bin/pve9-repo-fix/raw/branch/main/install-claude-code.sh | bash
|
||||||
|
```
|
||||||
|
|
||||||
|
### 수동 설치 (스크립트 확인 후 실행)
|
||||||
|
```bash
|
||||||
|
wget https://git.0bin.in/thug0bin/pve9-repo-fix/raw/branch/main/install-claude-code.sh
|
||||||
|
chmod +x install-claude-code.sh
|
||||||
|
./install-claude-code.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
### 설치 내용
|
||||||
|
- ✅ **Node.js 20.x LTS** 자동 설치
|
||||||
|
- ✅ **npm** 포함 설치
|
||||||
|
- ✅ **Claude Code CLI** 글로벌 설치
|
||||||
|
- ✅ 설치 확인 및 버전 출력
|
||||||
|
|
||||||
|
### 사용 방법
|
||||||
|
```bash
|
||||||
|
claude-code # Claude Code 시작
|
||||||
|
claude-code --help # 도움말 보기
|
||||||
|
```
|
||||||
|
|
||||||
## 라이선스
|
## 라이선스
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user