mirror of
https://github.com/nocobase/nocobase
synced 2024-11-16 05:35:17 +00:00
a6eebb940f
* feat: improve code * feat: update docs * feat: update docs * Update index.md * Update features.md * Update when.md * Update contributing.md * Update translations.md * feat: clean up * Add files via upload * Update the-first-app.md * Update plugins.md * Update a-b-c.md * Update blocks.md * feat: update docs * Add files via upload * Update charts.md * feat: update navs * Update index.md * Update index.md * Update features.md * Update index.md * Update docker-compose.md * Update create-nocobase-app.md * Update git-clone.md * Update contributing.md * Update translations.md * Update plugins.md * Update the-first-app.md * Add files via upload * Update charts.md * Update charts.md * Update a-b-c.md * Update collections.md * Update menus.md * Update menus.md Co-authored-by: Zhou <zhou.working@gmail.com>
44 lines
415 B
Markdown
44 lines
415 B
Markdown
# 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
|
|
# 启动
|
|
yarn start # 暂不支持在 win 平台下运行
|
|
```
|
|
|