Commit Graph

1 Commits

Author SHA1 Message Date
hyoseung930
b160ec3948 New task
모두 완료되었습니다!

---

## 구성 완료 요약

**Gitea**: https://git.wageulwageul.com
- 계정: `hyoseung` / `486251daKWON@`
- 비공개 저장소 5개 (budgetTrack, alliance, nyami, lotto, autoCoupon)

**자동 배포 흐름:**
```
git push gitea main
    → Gitea webhook → localhost:9000 (webhook-server)
    → /home/hyoseung/deploy.sh <project>
    → git pull → npm build → pm2 restart → nginx 업데이트
```

---

## 다른 컴퓨터에서 사용하는 법

```bash
# clone
git clone https://hyoseung:486251daKWON%40@git.wageulwageul.com/hyoseung/budgetTrack.git

# 코드 수정 후 push
git add -A
git commit -m "변경 내용"
git push gitea main
# → 자동으로 EC2에 배포됨!
```

현재 이 컴퓨터는 이미 각 프로젝트 폴더에 `gitea` remote가 설정되어 있어서 바로 `git push gitea main` 하면 됩니다.
2026-05-11 16:36:56 +09:00