-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.sample
More file actions
48 lines (43 loc) · 1.9 KB
/
Copy path.env.sample
File metadata and controls
48 lines (43 loc) · 1.9 KB
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
# ===========================================
# Tech Blog 환경변수
# 이 파일을 .env.local로 복사해서 사용하세요:
# cp .env.sample .env.local
# ===========================================
# -------------------------------------------
# [필수] AI 글 생성 CLI
# 사용처: scripts/generate.ts (pnpm generate)
# 발급: https://console.anthropic.com/settings/keys
# -------------------------------------------
ANTHROPIC_API_KEY=sk-ant-...
# -------------------------------------------
# [선택] 사이트 URL
# 사용처: scripts/generate-seo.ts, app/feed.xml/route.ts, 모든 메타데이터
# 미설정 시 lib/site.ts의 fallback 사용
# -------------------------------------------
NEXT_PUBLIC_SITE_URL=https://your-domain.com
# -------------------------------------------
# [선택] IndexNow 키
# 사용처: scripts/generate-seo.ts(키 파일 생성), scripts/indexnow-ping.ts
# 발급: 직접 UUID/hex 문자열 생성 (8~128자)
# node -e "console.log(crypto.randomUUID().replace(/-/g,''))"
# 설명: Bing/Yandex/Naver 등에 변경 URL을 즉시 알리는 프로토콜
# - 이 값은 비밀이 아님. 공개 URL(https://도메인/{KEY}.txt)로 노출됨
# - 빌드시 public/{KEY}.txt 파일이 자동 생성됨(gitignore됨)
# - GitHub Actions에서는 secrets.INDEXNOW_KEY로도 설정 필요
# -------------------------------------------
INDEXNOW_KEY=
# -------------------------------------------
# [선택] giscus 댓글
# 사용처: components/ui/comments.tsx
# 설정: https://giscus.app 에서 repo 연결 후 값 복사
# 미설정 시 댓글 섹션이 표시되지 않음
# -------------------------------------------
NEXT_PUBLIC_GISCUS_REPO=
NEXT_PUBLIC_GISCUS_REPO_ID=
NEXT_PUBLIC_GISCUS_CATEGORY_ID=
# -------------------------------------------
# [선택] 로컬 IP
# 사용처: next.config.ts
# 설정: 로컬 개발 시 사용할 IP 주소
# -------------------------------------------
LOCAL_IP=