Skip to content

Commit a56aa84

Browse files
committed
docs: yapi-cli to yapi
1 parent 52c88b3 commit a56aa84

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
* nodejs(7.6+)
55
* mongodb(2.6+)
66
## 安装
7-
执行 yapi-cli server 启动可视化部署程序,输入相应的配置和点击开始部署,就能完成整个网站的部署。部署完成之后,可按照提示信息,执行 node/{网站路径/server/app.js} 启动服务器。在浏览器打开指定url, 点击登录输入您刚才设置的管理员邮箱,默认密码为 ymfe.org 登录系统(默认密码可在个人中心修改)。
7+
执行 yapi server 启动可视化部署程序,输入相应的配置和点击开始部署,就能完成整个网站的部署。部署完成之后,可按照提示信息,执行 node/{网站路径/server/app.js} 启动服务器。在浏览器打开指定url, 点击登录输入您刚才设置的管理员邮箱,默认密码为 ymfe.org 登录系统(默认密码可在个人中心修改)。
88

99
npm install -g yapi-cli --registry https://registry.npm.taobao.org
10-
yapi-cli server
10+
yapi server
1111

1212
## 升级
1313
升级项目版本是非常容易的,并且不会影响已有的项目数据,只会同步 vendors 目录下的源码文件。
1414
```
1515
cd {项目目录}
16-
yapi-cli ls //查看版本号列表
17-
yapi-cli update //更新到最新版本
18-
yapi-cli update -v {Version} //更新到指定版本
16+
yapi ls //查看版本号列表
17+
yapi update //更新到最新版本
18+
yapi update -v {Version} //更新到指定版本
1919
```

0 commit comments

Comments
 (0)