Skip to content

Commit bd0f0c8

Browse files
authored
Update README.md
1 parent cf1a90d commit bd0f0c8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,17 +122,19 @@ flowchart TB
122122
cd ./gkBlog
123123
```
124124

125-
2. **准备好对 `env.local` 文件进行配置**
125+
2. **准备好对 `.env.local` 文件进行配置**
126126

127127
```bash
128-
cp ./apps/gkBlog/env.example ./apps/gkBlog/env.local
128+
cp ./apps/gkBlog/.env.example ./apps/gkBlog/.env.local
129129
```
130130

131131
```yaml
132132
DATABASE_URL = your-database-connection-string
133133
SALT_IP_ADDRESS = super-secret
134134
NEXT_PUBLIC_BAIDU_TONGJI = xxxxxxxxxxxxxx
135135
NEXT_PUBLIC_GOOGLE_ID = xxxxxxxxxxxxxx
136+
NEXT_PUBLIC_CLARITY_TAG_ID = xxxxxxxxxxxxxx
137+
NEXT_PUBLIC_TWIKOO_ENVID = xxxxxxxxxxxxxx
136138
```
137139

138140
> 📝 对于 `DATABASE_URL`,请使用您的数据库连接字符串。我个人使用的是免费版的 [MongoDB](https://www.mongodb.com/),你也可以在免费版中创建数据库,并在 `env.local` 中添加连接字符串。它看起来应该如下所示:

0 commit comments

Comments
 (0)