Document local and production call flows
TaxBaik CI/CD / build-and-deploy (push) Successful in 4m51s

This commit is contained in:
2026-07-07 23:41:52 +09:00
parent aaca26c0d0
commit 2939de70d5
3 changed files with 52 additions and 19 deletions
+8 -9
View File
@@ -123,14 +123,11 @@ psql -d taxbaikdb -f db/migrations/V002__SeedData.sql
psql -d taxbaikdb -f db/migrations/V003__SeedAdminAndBlogPosts.sql
psql -d taxbaikdb -f db/migrations/V004__CreateSiteSettings.sql
# 3. 환경 변수 설정
export ConnectionStrings__Default="Host=localhost;Database=taxbaikdb;Username=postgres;Password=password"
# 3. 로컬 개발 환경 실행
$env:ASPNETCORE_ENVIRONMENT="Development"
dotnet watch run --project .\src\TaxBaik.Web\TaxBaik.Web.csproj
# 4. 빌드 및 실행
dotnet build TaxBaik.sln
dotnet run --project TaxBaik.Web
# 5. 브라우저 열기
# 4. 브라우저 열기
# 공개 사이트: http://localhost:5001/taxbaik
# 관리자: http://localhost:5001/taxbaik/admin/login
```
@@ -139,6 +136,7 @@ dotnet run --project TaxBaik.Web
- **username**: `admin`
- **password**: `<TAXBAIK_ADMIN_TEST_PASSWORD>` or current rotated admin password
- 개발 환경에서는 `test_admin / admin123` 로도 로그인 가능
> ⚠️ **중요**: 프로덕션 배포 시 비밀번호 변경 필수이며, 검증용 비밀번호는 Gitea Secrets로 관리
@@ -277,8 +275,9 @@ kill -9 <PID>
# 연결 테스트
psql -U taxbaik -d taxbaikdb -c "SELECT 1;"
# 환경 변수 확인
echo $ConnectionStrings__Default
# 개발 환경에서는 appsettings.Development.json 우선
echo $env:ASPNETCORE_ENVIRONMENT
echo $env:ConnectionStrings__Default
```
---