Skip to content

Commit c001496

Browse files
committed
docs: 更新README文档
1 parent 423e7ae commit c001496

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README.md

Lines changed: 7 additions & 5 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;">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>
55
<h4 align="center">基于RuoYi-Vue+FastAPI前后端分离的快速开发框架</h4>
66
<p align="center">
77
<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>
88
<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>
1010
<a href="https://gitee.com/insistence2022/RuoYi-Vue-FastAPI/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
RuoYi-Vue-FastAPI是一套全部开源的快速开发平台,毫无保留给个人及企业免费使用。
1818

1919
* 前端采用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。
2121
* 权限认证使用OAuth2 & Jwt,支持多终端认证系统。
2222
* 支持加载动态权限菜单,多方式轻松权限控制。
2323
* Vue3版本:
@@ -129,15 +129,17 @@ npm run dev
129129
# 进入后端目录
130130
cd ruoyi-fastapi-backend
131131

132-
# 安装项目依赖环境
132+
# 如果使用的是MySQL数据库,请执行以下命令安装项目依赖环境
133133
pip3 install -r requirements.txt
134+
# 如果使用的是PostgreSQL数据库,请执行以下命令安装项目依赖环境
135+
pip3 install -r requirements-pg.txt
134136

135137
# 配置环境
136138
在.env.dev文件中配置开发环境的数据库和redis
137139

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

142144
# 运行后端
143145
python3 app.py --env=dev

0 commit comments

Comments
 (0)