Skip to content

Commit

Permalink
docs: update dev node version tip document
Browse files Browse the repository at this point in the history
  • Loading branch information
moonrailgun committed Mar 25, 2024
1 parent de63b31 commit 8ce3aee
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
8 changes: 7 additions & 1 deletion website/docs/deployment/dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@ docker run -d \
minio/minio server /data --console-address ":9001"
```

### Start the development server
## Node Version

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

Suggestion to use `nodejs18.x`, and not support `nodejs20` yet because nodejs has some break change.

## Start the development server

```bash
pnpm install
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ sidebar_position: 99
title: 开发环境
---

对于开发环境的搭建,tailchat 提供了非常简单快捷的方式:
对于开发环境的搭建,Tailchat 提供了非常简单快捷的方式:

## 使用Docker快速搭建依赖环境

Expand All @@ -28,7 +28,13 @@ docker run -d \
minio/minio server /data --console-address ":9001"
```

### 启动开发服务器
## Node Version

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

建议使用 `nodejs18.x` 因为目前还不支持 `nodejs20.x`(nodejs 20 有一些break change)

## 启动开发服务器

```bash
pnpm install
Expand Down

0 comments on commit 8ce3aee

Please sign in to comment.