Python > 3.x.x
flask
gunicorn
nodejs > 8.x.x
apidoc
git
需要自定义自己的配置
apidoc.json
{
"name": "Flask REST API",
"version": "1.0.0",
"description": "A Flask REST API example",
"title": "A Flask REST API example",
"url" : "http://127.0.0.1:5000",
"sampleUrl" : "http://127.0.0.1:5000"
}
src/env.conf
本地项目存储路径
执行配置命令
python manage.py config
启动命令
gunicorn src.app:app -c src/gunicorn_config.py
├── config
│ ├── nginx
│ │ └── conf.d
│ │ └── apidoc_py.conf
├── logs
│ └── xxxx.log
├── README.md
├── apidoc.json
├── manage.py
└── src
├── app.py
├── build.py
├── gunicorn_config.py
├── env.conf # code local storage location
├── services
│ ├── BuildService.py
│ ├── ConfigService.py
│ ├── IndexService.py
│ ├── CodeService.py
│ ├── exec_command.py
│ ├── loggingcus.py
│ └── __init__.py
├── static
│ ├── apidocs
│ │ └── +AddProject
│ ├── css
│ │ └── index.css
│ └── js
│ ├── index.js
│ └── lib
│ └── jquery-1.9.1.min.js
└── templates
└── index.html
修复部分bug
去除一些功能
增加从git拉取代码生成文档功能