Skip to content

Commit

Permalink
2018-03-07 增加:YApi 安装和配置
Browse files Browse the repository at this point in the history
  • Loading branch information
judasn committed Mar 7, 2018
1 parent 08d55ac commit 3837873
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
- [Apache Thrift 安装和使用](markdown-file/Thrift-Install-And-Usage.md)
- [Node.js 安装和使用](markdown-file/Node-Install-And-Usage.md)
- [CI 整套服务安装和使用](markdown-file/CI-Install-And-Usage.md)
- [YApi 安装和配置](markdown-file/YApi-Install-And-Settings.md)


## 下一步(Next)
Expand Down
3 changes: 2 additions & 1 deletion SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,5 @@
* [Alfresco 安装和使用](markdown-file/Alfresco-Install-And-Usage.md)
* [Apache Thrift 安装和使用](markdown-file/Thrift-Install-And-Usage.md)
* [Node.js 安装和使用](markdown-file/Node-Install-And-Usage.md)
* [CI 整套服务安装和使用](markdown-file/CI-Install-And-Usage.md)
* [CI 整套服务安装和使用](markdown-file/CI-Install-And-Usage.md)
* [YApi 安装和配置](markdown-file/YApi-Install-And-Settings.md)
2 changes: 1 addition & 1 deletion TOC.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@
- [Alfresco 安装和使用](markdown-file/Alfresco-Install-And-Usage.md)
- [Apache Thrift 安装和使用](markdown-file/Thrift-Install-And-Usage.md)
- [Node.js 安装和使用](markdown-file/Node-Install-And-Usage.md)
- [CI 整套服务安装和使用](markdown-file/CI-Install-And-Usage.md)
- [YApi 安装和配置](markdown-file/YApi-Install-And-Settings.md)
28 changes: 28 additions & 0 deletions markdown-file/YApi-Install-And-Settings.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# YApi 安装和配置


## 部署的环境

- 系统:`CentOS 7.4`
- 硬件要求:`1 GB RAM minimum`
- ip:`http://192.168.1.121`

> 建议部署成 http 站点,因 chrome 浏览器安全限制,部署成 https 会导致测试功能在请求 http 站点时文件上传功能异常。--[来源](https://yapi.ymfe.org/devops.html)
## Docker 快速部署

- 一个好心人的维护:<https://github.com/branchzero/yapi-docker>
- 使用方法:
- work path:`mkdir -p /opt/git-data`
- clone:`cd /opt/git-data && git clone https://github.com/branchzero/yapi-docker.git`
- permission:`chmod -R 777 /opt/git-data`
- run command:`docker-compose up -d`
- open chrome:`http://192.168.1.121:3000`
- 初始化管理员账号名:"[email protected]",密码:"ymfe.org"

## YApi 介绍

- 官网:<https://yapi.ymfe.org/index.html>
- Github:<https://github.com/YMFE/yapi>
- 官网在线演示:<http://yapi.demo.qunar.com/>
- 使用手册:<https://yapi.ymfe.org/usage.html>

0 comments on commit 3837873

Please sign in to comment.