tachybase_todo/docs/zh-CN/welcome/getting-started/upgrading/git-clone.md

43 lines
376 B
Markdown
Raw Normal View History

# Git 源码安装的升级
## 1. 切换到 NocoBase 项目目录
```bash
cd my-nocobase-app
```
## 2. 拉取最新代码
```bash
git pull
```
## 3. 更新依赖
```
yarn install
```
## 4. 执行更新命令
```bash
yarn nocobase upgrade
```
## 5. 启动 NocoBase
开发环境
```bash
yarn dev
```
生产环境
```bash
# 编译
yarn build
# 启动
2023-05-25 22:47:05 +08:00
yarn start
```