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>
45 lines
469 B
Markdown
45 lines
469 B
Markdown
# Upgrading for Git source code
|
|
|
|
## 1. switch to the NocoBase project directory
|
|
|
|
```bash
|
|
cd my-nocobase-app
|
|
```
|
|
|
|
## 2. Pull the latest code
|
|
|
|
```bash
|
|
git pull
|
|
```
|
|
|
|
## 3. Update dependencies
|
|
|
|
```
|
|
yarn install
|
|
```
|
|
|
|
## 4. Execute the update command
|
|
|
|
```bash
|
|
yarn nocobase upgrade
|
|
```
|
|
|
|
## 5. Start NocoBase
|
|
|
|
development environment
|
|
|
|
```bash
|
|
yarn dev
|
|
```
|
|
|
|
Production environment
|
|
|
|
```bash
|
|
# compile
|
|
yarn build
|
|
|
|
# Start
|
|
yarn start # Not supported on Windows platforms yet
|
|
```
|
|
|