Skip to content

Commit 5885e30

Browse files
committed
docs: update dev document
1 parent fcf9253 commit 5885e30

File tree

2 files changed

+26
-0
lines changed
  • website
    • docs/deployment
    • i18n/zh-Hans/docusaurus-plugin-content-docs/current/deployment

2 files changed

+26
-0
lines changed

website/docs/deployment/dev.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,19 @@ docker run -d \
2828
minio/minio server /data --console-address ":9001"
2929
```
3030

31+
### Example
32+
33+
Here is a minimal example `.env` which let you can run tailchat in development environment.
34+
35+
```ini
36+
PORT=11000
37+
MONGO_URL=mongodb://127.0.0.1:27017/tailchat
38+
REDIS_URL=redis://localhost:6379/
39+
MINIO_URL=127.0.0.1:19000
40+
MINIO_USER=tailchat
41+
MINIO_PASS=com.msgbyte.tailchat
42+
```
43+
3144
## Node Version
3245

3346
Tailchat is develop with `nodejs`, please install nodejs by yourself, here is nodejs official: [https://nodejs.org/](https://nodejs.org/)

website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/deployment/dev.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,19 @@ docker run -d \
2828
minio/minio server /data --console-address ":9001"
2929
```
3030

31+
### 示例
32+
33+
这是一个 ".env" 的最小示例,可让您在开发环境中运行 `tailchat`
34+
35+
```ini
36+
PORT=11000
37+
MONGO_URL=mongodb://127.0.0.1:27017/tailchat
38+
REDIS_URL=redis://localhost:6379/
39+
MINIO_URL=127.0.0.1:19000
40+
MINIO_USER=tailchat
41+
MINIO_PASS=com.msgbyte.tailchat
42+
```
43+
3144
## Node Version
3245

3346
Tailchat 是使用 `nodejs` 进行开发的,请自行安装nodejs, 这里是nodejs的官方网站: [https://nodejs.org/](https://nodejs.org/)

0 commit comments

Comments
 (0)