Commit Graph

12 Commits

Author SHA1 Message Date
kjh2064 89fa51efe2 refactor admin UX and stabilize shell
TaxBaik CI/CD / build-and-deploy (push) Failing after 2m20s
2026-07-09 00:03:33 +09:00
kjh2064 14cf59263f 배포 자동화: Nginx 설정 수정 스크립트 & 가이드 추가
## 추가된 파일
- scripts/fix-nginx-taxbaik.sh: Nginx 설정 자동 수정 (백업 + 검증)
- DEPLOYMENT_GUIDE.md: 배포 가이드 (자동/수동/검증/롤백)

## 사용 방법
### 자동 배포 (권장):
ssh kjh2064@178.104.200.7
cd /home/kjh2064
chmod +x fix-nginx.sh
sudo ./fix-nginx.sh

### 스크립트 기능
 Nginx 설정 자동 수정
 자동 백업 생성
 문법 검증 (nginx -t)
 Nginx 자동 재로드
 롤백 불가능 시 자동 복구

## 검증 항목
 Nginx 설정 (location /taxbaik/ + rewrite 규칙)
 공개 사이트: HTTP 200
 관리자 로그인: HTTP 200
 E2E 테스트: public-smoke 5/5, quick-test 4/4

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-07-08 16:29:24 +09:00
kjh2064 c00d002972 chore: remove committed build artifacts and dead files, archive stray root docs
Root had accumulated files that should never have been tracked:
- Committed build output: TaxBaik.Web.*.json (runtimeconfig/deps), and a
  225-file root wwwroot/ that duplicated (and was staler than)
  TaxBaik.Web/wwwroot/.
- A stale migrations/ (V001-V003 only) superseded by db/migrations/, which
  is the directory MigrationRunner and CI actually use.
- An orphaned root appsettings.json (dev DB password + JWT secret) that the
  app's content root (TaxBaik.Web/) never actually loads.
- Ad-hoc debug/log scratch files: debug-settings.js, final-test.js,
  test-settings.js, settings-page.png, login-test-output.log,
  server.{err,out}.log.
- docker-compose.yml, Dockerfile.*, web.config, SERVER_SETUP.sh, deploy.sh,
  remote_deploy.sh - none referenced by any .gitea/workflows/*.yml; leftovers
  from a Docker/manual-deploy approach superseded by deploy_gb.sh's
  systemd + Green-Blue proxy model.
- Tmp/ - screenshots and a scratch html/js, exactly the "temp work
  committed to root" problem.

None of this is destroyed - it stays recoverable via git history if ever
needed. Historical root-level docs (BLOG_TEMPLATE.md, DEPLOYMENT_GUIDE.md,
etc.) are moved into docs/archive/ rather than deleted, since docs/INDEX.md
already treats anything outside docs/ as non-canonical reference material.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-03 10:32:26 +09:00
kjh2064 a60451b95f fix: favicon and ci deployment checks
TaxBaik CI/CD / build-and-deploy (push) Failing after 1m37s
2026-07-01 12:58:21 +09:00
kjh2064 24ecf89028 docs: 도메인 기반 가상 호스트 및 HTTPS 적용에 따른 지침 최신화 2026-07-01 10:40:28 +09:00
kjh2064 f29f2c3cff 개선: 배포 검증과 관리자 UX 안정화
TaxBaik Browser E2E / browser-e2e (push) Failing after 1m3s
TaxBaik CI/CD / build-and-deploy (push) Failing after 2m46s
2026-06-27 20:57:09 +09:00
kjh2064 28060b71be feat: harden auth ops and deployment baseline 2026-06-27 10:53:53 +09:00
kjh2064 a6ca30eec8 fix: use base64 encoded deploy ssh key
TaxBaik CI/CD / build-and-deploy (push) Failing after 42s
2026-06-27 02:33:32 +09:00
kjh2064 43881e5fd9 docs: align ops guidance with websocket proxy
TaxBaik CI/CD / build-and-deploy (push) Successful in 47s
2026-06-27 02:05:09 +09:00
kjh2064 0df5d2d31c docs: harden ops guidance and CI smoke test
TaxBaik CI/CD / build-and-deploy (push) Successful in 50s
2026-06-27 01:42:48 +09:00
kjh2064 1d7dd71011 fix: unify TaxBaik deployment around CI
TaxBaik CI/CD / build-and-deploy (push) Successful in 41s
2026-06-27 01:34:17 +09:00
kjh2064 b875538bb5 추가: 마이그레이션 러너 및 배포 가이드
- MigrationRunner 구현 (자동 DB 마이그레이션)
- Program.cs에 마이그레이션 자동 실행 추가
- 마이그레이션 SQL 파일을 임베드 리소스로 설정
- 완전한 배포 가이드 작성 (DEPLOYMENT_GUIDE.md)
- E2E 테스트 절차 포함
- 롤백 및 모니터링 가이드 추가

배포 준비 완료: Gitea CI/CD 자동 배포 활성화 가능

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-06-26 15:24:39 +09:00