Skip to content

Commit 3f7d103

Browse files
committed
docs: 更新README文档
1 parent 989750a commit 3f7d103

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

README.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<p align="center">
22
<img alt="logo" src="https://oscimg.oschina.net/oscnet/up-d3d0a9303e11d522a06cd263f3079027715.png">
33
</p>
4-
<h1 align="center" style="margin: 30px 0 30px; font-weight: bold;">Dash-FastAPI-Admin v2.0.1</h1>
4+
<h1 align="center" style="margin: 30px 0 30px; font-weight: bold;">Dash-FastAPI-Admin v2.1.0</h1>
55
<h4 align="center">基于Dash+FastAPI前后端分离的纯Python快速开发框架</h4>
66
<p align="center">
77
<a href="https://gitee.com/insistence2022/dash-fastapi-admin/stargazers"><img src="https://gitee.com/insistence2022/dash-fastapi-admin/badge/star.svg?theme=dark"></a>
88
<a href="https://github.com/insistence/Dash-FastAPI-Admin"><img src="https://img.shields.io/github/stars/insistence/Dash-FastAPI-Admin?style=social"></a>
9-
<a href="https://gitee.com/insistence2022/dash-fastapi-admin"><img src="https://img.shields.io/badge/DashFastAPIAdmin-v2.0.1-brightgreen.svg"></a>
9+
<a href="https://gitee.com/insistence2022/dash-fastapi-admin"><img src="https://img.shields.io/badge/DashFastAPIAdmin-v2.1.0-brightgreen.svg"></a>
1010
<a href="https://gitee.com/insistence2022/dash-fastapi-admin/blob/master/LICENSE"><img src="https://img.shields.io/github/license/mashape/apistatus.svg"></a>
1111
<img src="https://img.shields.io/badge/python-≥3.9-blue">
1212
<img src="https://img.shields.io/badge/MySQL-≥5.7-blue">
@@ -17,7 +17,7 @@
1717
Dash-FastAPI-Admin是一套全部开源的快速开发平台,毫无保留给个人及企业免费使用。
1818

1919
* 前端采用Dash、feffery-antd-components、feffery-utils-components。
20-
* 后端采用FastAPI、sqlalchemy、MySQL、Redis、OAuth2 & Jwt。
20+
* 后端采用FastAPI、sqlalchemy、MySQL(PostgreSQL)、Redis、OAuth2 & Jwt。
2121
* 权限认证使用OAuth2 & Jwt,支持多终端认证系统。
2222
* 支持加载动态权限菜单,多方式轻松权限控制。
2323
* Vue2版本:
@@ -105,8 +105,10 @@ git clone https://gitee.com/insistence2022/dash-fastapi-admin.git
105105
# 进入项目根目录
106106
cd dash-fastapi-admin
107107

108-
# 安装项目依赖环境
108+
# 如果使用的是MySQL数据库,请执行以下命令安装项目依赖环境
109109
pip3 install -r requirements.txt
110+
# 如果使用的是PostgreSQL数据库,请执行以下命令安装项目依赖环境
111+
pip3 install -r requirements-pg.txt
110112
```
111113

112114
### 开发
@@ -134,7 +136,7 @@ cd dash-fastapi-backend
134136

135137
# 运行sql文件
136138
1.新建数据库dash-fastapi(默认,可修改)
137-
2.使用命令或数据库连接工具运行sql文件夹下的dash-fastapi.sql
139+
2.如果使用的是MySQL数据库,使用命令或数据库连接工具运行sql文件夹下的dash-fastapi.sql;如果使用的是PostgreSQL数据库,使用命令或数据库连接工具运行sql文件夹下的dash-fastapi-pg.sql
138140

139141
# 运行后端
140142
python3 app.py --env=dev
@@ -193,7 +195,7 @@ cd dash-fastapi-backend
193195

194196
# 运行sql文件
195197
1.新建数据库dash-fastapi(默认,可修改)
196-
2.使用命令或数据库连接工具运行sql文件夹下的dash-fastapi.sql
198+
2.如果使用的是MySQL数据库,使用命令或数据库连接工具运行sql文件夹下的dash-fastapi.sql;如果使用的是PostgreSQL数据库,使用命令或数据库连接工具运行sql文件夹下的dash-fastapi-pg.sql
197199

198200
# 运行后端
199201
python3 app.py --env=prod
@@ -213,14 +215,14 @@ python3 app.py --env=prod
213215
如果有对本项目及FastAPI感兴趣的朋友,欢迎加入知识星球一起交流学习,让我们一起变得更强。如果你觉得这个项目帮助到了你,你可以请作者喝杯咖啡表示鼓励☕。扫描下面微信二维码添加微信备注DF-Admin即可进群,也欢迎大家加入dash大神费弗里的知识星球学习更多dash开发知识。
214216
<table>
215217
<tr>
216-
<td><img alt="zanzhu_wx" src="https://gitee.com/insistence2022/dash-fastapi-admin/raw/master/demo-pictures/zanzhu_wx.jpg"></td>
217-
<td><img alt="zanzhu_zfb" src="https://gitee.com/insistence2022/dash-fastapi-admin/raw/master/demo-pictures/zanzhu_zfb.jpg"></td>
218+
<td style="width: 50%"><img alt="zanzhu_wx" src="https://gitee.com/insistence2022/dash-fastapi-admin/raw/master/demo-pictures/zanzhu_wx.jpg"></td>
219+
<td style="width: 50%"><img alt="zanzhu_zfb" src="https://gitee.com/insistence2022/dash-fastapi-admin/raw/master/demo-pictures/zanzhu_zfb.jpg"></td>
218220
</tr>
219221
<tr>
220-
<td><img alt="zsxq" src="https://gitee.com/insistence2022/dash-fastapi-admin/raw/master/demo-pictures/zsxq.jpg"></td>
221-
<td><img alt="dashzsxq" src="https://gitee.com/insistence2022/dash-fastapi-admin/raw/master/demo-pictures/dashzsxq.jpg"></td>
222+
<td style="width: 50%"><img alt="zsxq" src="https://gitee.com/insistence2022/dash-fastapi-admin/raw/master/demo-pictures/zsxq.jpg"></td>
223+
<td style="width: 50%"><img alt="dashzsxq" src="https://gitee.com/insistence2022/dash-fastapi-admin/raw/master/demo-pictures/dashzsxq.jpg"></td>
222224
</tr>
223225
<tr>
224-
<td><img alt="wxcode" src="https://gitee.com/insistence2022/dash-fastapi-admin/raw/master/demo-pictures/wxcode.jpg"></td>
226+
<td style="width: 50%"><img alt="wxcode" src="https://gitee.com/insistence2022/dash-fastapi-admin/raw/master/demo-pictures/wxcode.jpg"></td>
225227
</tr>
226228
</table>

0 commit comments

Comments
 (0)