Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bafflingbug authored May 7, 2018
1 parent ca21446 commit 1904d90
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@
> 3. 允许添加新的插件,参见 [自定义插件](#自定义插件)
### 部署方式
1. 拷贝src到服务器
1. 拷贝src目录到服务器
2. 拷贝requirements.txt到服务器
3. 执行`pip install -r requirements.txt`安装依赖
2.`src/service/plugins`启用/禁用插件(禁用方式为删除或在文件夹前加入两个下划线`__`
3. 启动服务器
3. 使用gunicorn或其他wsgi来启动服务器(一条建议的命令`gunicorn -w 1 -b 0.0.0.0:80 -t 30 --threads 4 -D main:app`

### config.yaml配置文件
- config.yaml在相应的插件目录下
Expand Down Expand Up @@ -73,4 +75,4 @@
### 写在最后
- 这个一个个人项目,没有做很多的兼容性判断。可能会在其他环境下无法运行
- python的运行环境是python3+
- 如果难以看懂教程尝试切换分支到以前的版本(我也觉得如此)
- 如果难以看懂教程尝试切换分支到以前的版本(我也觉得如此)

0 comments on commit 1904d90

Please sign in to comment.