mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-11-29 18:58:26 +08:00
Update README.zh-CN.md
This commit is contained in:
parent
d8b0aff120
commit
f979a182eb
@ -171,19 +171,14 @@ cd my-nocobase-app
|
||||
📢 由于网络环境、系统配置等因素影响,接下来这一步骤可能需要十几分钟时间。
|
||||
|
||||
```bash
|
||||
# 生产环境部署时,可以只安装必要的依赖,减少依赖体积和下载时长
|
||||
yarn install --production
|
||||
# 或者,安装完整的依赖
|
||||
yarn install
|
||||
```
|
||||
|
||||
#### 4. 安装并启动 NocoBase
|
||||
|
||||
```bash
|
||||
# 生产环境下启动应用,源码有修改时,需要重新编译打包(yarn build)
|
||||
yarn nocobase install --lang=zh-CN
|
||||
yarn start
|
||||
# 开发环境下启动应用,代码会实时编译
|
||||
yarn dev
|
||||
```
|
||||
|
||||
#### 5. 登录 NocoBase
|
||||
@ -209,8 +204,10 @@ yarn install
|
||||
### 应用开发与测试
|
||||
|
||||
```bash
|
||||
# 安装并启动应用
|
||||
yarn dev
|
||||
# 安装
|
||||
yarn nocobase install --lang=zh-CN
|
||||
# 启动应用
|
||||
yarn start
|
||||
# 运行所有测试
|
||||
yarn test
|
||||
# 运行文件夹下所有测试文件
|
||||
|
Loading…
Reference in New Issue
Block a user