Skip to content

Commit

Permalink
chore: update env.example and README
Browse files Browse the repository at this point in the history
  • Loading branch information
CaliCastle committed Jun 10, 2023
1 parent 3548094 commit b232b2c
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Clerk 登录必需
CLERK_SECRET_KEY=""
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY="pk_"

# 数据库信息,评论系统必需
DATABASE_HOST=""
DATABASE_PASSWORD=""
DATABASE_URL=""
DATABASE_USERNAME=""

# 链接预览图 API 必需
LINK_PREVIEW_API_BASE_URL=""

# Sanity CMS 必需
NEXT_PUBLIC_SANITY_DATASET=""
NEXT_PUBLIC_SANITY_PROJECT_ID=""
NEXT_PUBLIC_SANITY_USE_CDN="false"

# Email 通知必需
RESEND_API_KEY=""
SITE_NOTIFICATION_EMAIL_TO="[email protected]"

# Upstash Redis 必需
UPSTASH_REDIS_REST_TOKEN=""
UPSTASH_REDIS_REST_URL="https://example.upstash.io"

# Vercel 必需
VERCEL_ENV="development"
EDGE_CONFIG=""
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
## 我的个人网站

目前还在开发中,可以通过 [https://cali.so/](https://cali.so/) 访问
我的个人网站 [https://cali.so/](https://cali.so/) 的源代码

需要其他服务商的环境变量才能正常运行,所以如果你想要在本地运行,需要自己配置。

可查看 `.env.example` 文件,里面包含了所有需要的环境变量。

### 技术栈

- [Next.js](https://nextjs.org/)
Expand Down

0 comments on commit b232b2c

Please sign in to comment.