Skip to content

Commit 606a720

Browse files
committed
docs:更新README.md
1 parent e43214d commit 606a720

File tree

1 file changed

+51
-2
lines changed

1 file changed

+51
-2
lines changed

README.md

Lines changed: 51 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Dash-FastAPI是一套全部开源的快速开发平台,毫无保留给个人
1717
* 后端采用FastAPI、sqlalchemy、Redis & Jwt。
1818
* 权限认证使用Jwt,支持多终端认证系统。
1919
* 支持加载动态权限菜单,多方式轻松权限控制。
20-
* 特别鸣谢:<u>[RuoYi](https://gitee.com/y_project/RuoYi-Vue)</u> ,[feffery-antd-components](https://github.com/CNFeffery/feffery-antd-components)[feffery-utils-components](https://github.com/CNFeffery/feffery-utils-components)
20+
* 特别鸣谢:<u>[RuoYi-Vue](https://gitee.com/y_project/RuoYi-Vue)</u> ,[feffery-antd-components](https://github.com/CNFeffery/feffery-antd-components)[feffery-utils-components](https://github.com/CNFeffery/feffery-utils-components)
2121

2222
## 内置功能
2323

@@ -75,4 +75,53 @@ Dash-FastAPI是一套全部开源的快速开发平台,毫无保留给个人
7575
<tr>
7676
<td><img src="https://gitee.com/insistence2022/dash-fastapi/blob/develop/demo-pictures/%E7%B3%BB%E7%BB%9F%E6%8E%A5%E5%8F%A3.png"/></td>
7777
</tr>
78-
</table>
78+
</table>
79+
80+
## 项目运行
81+
82+
```bash
83+
# 克隆项目
84+
git clone https://gitee.com/insistence2022/dash-fastapi-admin.git
85+
86+
# 进入项目根目录
87+
cd Dash-FastAPI-Admin
88+
89+
# 安装项目依赖环境
90+
pip3 install -r requirements.txt
91+
```
92+
93+
### 前端
94+
```bash
95+
# 进入前端目录
96+
cd dash-fastapi-frontend
97+
98+
# 运行前端
99+
python3 wsgi.py
100+
```
101+
102+
### 后端
103+
```bash
104+
# 进入后端目录
105+
cd dash-fastapi-backend
106+
107+
# 配置环境
108+
1.在config/env.py的DataBaseConfig类中配置数据库环境
109+
2.在config/env.py的RedisConfig类中配置redis环境
110+
111+
# 运行sql文件
112+
1.新建数据库dash-fastapi(默认,可修改)
113+
2.使用数据库连接工具运行sql文件夹下的dash-fastapi.sql
114+
115+
# 运行后端
116+
python3 app.py
117+
```
118+
119+
### 访问
120+
```bash
121+
# 默认账号密码
122+
账号:admin
123+
密码:admin123
124+
125+
# 浏览器访问
126+
路径:http://127.0.0.1:8088
127+
```

0 commit comments

Comments
 (0)