|
1 | 1 | <p align="center"> |
2 | 2 | <img alt="logo" src="https://oscimg.oschina.net/oscnet/up-d3d0a9303e11d522a06cd263f3079027715.png"> |
3 | 3 | </p> |
4 | | -<h1 align="center" style="margin: 30px 0 30px; font-weight: bold;">RuoYi-Vue-FastAPI v1.4.0</h1> |
| 4 | +<h1 align="center" style="margin: 30px 0 30px; font-weight: bold;">RuoYi-Vue-FastAPI v1.5.0</h1> |
5 | 5 | <h4 align="center">基于RuoYi-Vue+FastAPI前后端分离的快速开发框架</h4> |
6 | 6 | <p align="center"> |
7 | 7 | <a href="https://gitee.com/insistence2022/RuoYi-Vue-FastAPI/stargazers"><img src="https://gitee.com/insistence2022/RuoYi-Vue-FastAPI/badge/star.svg?theme=dark"></a> |
8 | 8 | <a href="https://github.com/insistence/RuoYi-Vue-FastAPI"><img src="https://img.shields.io/github/stars/insistence/RuoYi-Vue-FastAPI?style=social"></a> |
9 | | - <a href="https://gitee.com/insistence2022/RuoYi-Vue-FastAPI"><img src="https://img.shields.io/badge/RuoYiVueFastAPI-v1.4.0-brightgreen.svg"></a> |
| 9 | + <a href="https://gitee.com/insistence2022/RuoYi-Vue-FastAPI"><img src="https://img.shields.io/badge/RuoYiVueFastAPI-v1.5.0-brightgreen.svg"></a> |
10 | 10 | <a href="https://gitee.com/insistence2022/RuoYi-Vue-FastAPI/blob/master/LICENSE"><img src="https://img.shields.io/github/license/mashape/apistatus.svg"></a> |
11 | 11 | <img src="https://img.shields.io/badge/python-≥3.9-blue"> |
12 | 12 | <img src="https://img.shields.io/badge/MySQL-≥5.7-blue"> |
|
17 | 17 | RuoYi-Vue-FastAPI是一套全部开源的快速开发平台,毫无保留给个人及企业免费使用。 |
18 | 18 |
|
19 | 19 | * 前端采用Vue、Element UI,基于<u>[RuoYi-Vue](https://gitee.com/y_project/RuoYi-Vue)</u>前端项目修改。 |
20 | | -* 后端采用FastAPI、sqlalchemy、MySQL、Redis、OAuth2 & Jwt。 |
| 20 | +* 后端采用FastAPI、sqlalchemy、MySQL(PostgreSQL)、Redis、OAuth2 & Jwt。 |
21 | 21 | * 权限认证使用OAuth2 & Jwt,支持多终端认证系统。 |
22 | 22 | * 支持加载动态权限菜单,多方式轻松权限控制。 |
23 | 23 | * Vue3版本: |
@@ -129,15 +129,17 @@ npm run dev |
129 | 129 | # 进入后端目录 |
130 | 130 | cd ruoyi-fastapi-backend |
131 | 131 |
|
132 | | -# 安装项目依赖环境 |
| 132 | +# 如果使用的是MySQL数据库,请执行以下命令安装项目依赖环境 |
133 | 133 | pip3 install -r requirements.txt |
| 134 | +# 如果使用的是PostgreSQL数据库,请执行以下命令安装项目依赖环境 |
| 135 | +pip3 install -r requirements-pg.txt |
134 | 136 |
|
135 | 137 | # 配置环境 |
136 | 138 | 在.env.dev文件中配置开发环境的数据库和redis |
137 | 139 |
|
138 | 140 | # 运行sql文件 |
139 | 141 | 1.新建数据库ruoyi-fastapi(默认,可修改) |
140 | | -2.使用命令或数据库连接工具运行sql文件夹下的ruoyi-fastapi.sql |
| 142 | +2.如果使用的是MySQL数据库,使用命令或数据库连接工具运行sql文件夹下的ruoyi-fastapi.sql;如果使用的是PostgreSQL数据库,使用命令或数据库连接工具运行sql文件夹下的ruoyi-fastapi-pg.sql |
141 | 143 |
|
142 | 144 | # 运行后端 |
143 | 145 | python3 app.py --env=dev |
|
0 commit comments