Skip to content

Commit

Permalink
docs: update dev document
Browse files Browse the repository at this point in the history
  • Loading branch information
moonrailgun committed Jun 4, 2024
1 parent fcf9253 commit 5885e30
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions website/docs/deployment/dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,19 @@ docker run -d \
minio/minio server /data --console-address ":9001"
```

### Example

Here is a minimal example `.env` which let you can run tailchat in development environment.

```ini
PORT=11000
MONGO_URL=mongodb://127.0.0.1:27017/tailchat
REDIS_URL=redis://localhost:6379/
MINIO_URL=127.0.0.1:19000
MINIO_USER=tailchat
MINIO_PASS=com.msgbyte.tailchat
```

## Node Version

Tailchat is develop with `nodejs`, please install nodejs by yourself, here is nodejs official: [https://nodejs.org/](https://nodejs.org/)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,19 @@ docker run -d \
minio/minio server /data --console-address ":9001"
```

### 示例

这是一个 ".env" 的最小示例,可让您在开发环境中运行 `tailchat`

```ini
PORT=11000
MONGO_URL=mongodb://127.0.0.1:27017/tailchat
REDIS_URL=redis://localhost:6379/
MINIO_URL=127.0.0.1:19000
MINIO_USER=tailchat
MINIO_PASS=com.msgbyte.tailchat
```

## Node Version

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

0 comments on commit 5885e30

Please sign in to comment.