Skip to content

Commit 9999845

Browse files
committed
Merge branch 'feature-notify' of https://github.com/TaleLin/lin-cms-flask into feature-notify
2 parents 7c9323f + 44e7bcb commit 9999845

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

app/config/secure.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@
66
# 安全性配置
77
SQLALCHEMY_DATABASE_URI = 'mysql+cymysql://root:123456@localhost:3306/lin-cms'
88

9+
SQLALCHEMY_ECHO = False
10+
911
SECRET_KEY = '\x88W\xf09\x91\x07\x98\x89\x87\x96\xa0A\xc68\xf9\xecJJU\x17\xc5V\xbe\x8b\xef\xd7\xd8\xd3\xe6\x95*4'

app/plugins/oss/README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,14 @@
22

33
## 插件模板自动生成
44

5-
## 添加requirements.txt
5+
请在项目的根目录下运行如下命令:
6+
7+
```bash
8+
python vendor/plugin_generator.py -n oss
9+
```
10+
11+
即可快速生成一个名为oss的插件,`-n`表示指定插件名
12+
13+
## 添加requirements.txt
14+
15+
如果你是在插件中使用了一些第三方库,这些库在主应用中是没有的,那么请你将它添加到**requirements.txt**中。

0 commit comments

Comments
 (0)