This commit is contained in:
wh 2020-05-28 15:22:03 +08:00
parent b5c789a267
commit 1f45798e94
3 changed files with 119 additions and 119 deletions

View File

@ -1,6 +1,6 @@
## 平台简介
* 前端采用Vue、Element UI。
* 前端采用Vue、Element UI、Vue-Element-Admin
* 后端采用Spring Boot、Spring Security、Redis & Jwt。
* 权限认证使用Jwt支持多终端认证系统。
* 支持加载动态权限菜单,多方式轻松权限控制。

View File

@ -1,30 +1,30 @@
## 开发
## 开发
```bash
# 克隆项目
# 克隆项目
git clone https://gitee.com/y_project/RuoYi-Vue
# 进入项目目录
# 进入项目目录
cd ruoyi-ui
# 安装依赖
# 安装依赖
npm install
# 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题
# 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题
npm install --registry=https://registry.npm.taobao.org
# 启动服务
# 启动服务
npm run dev
```
浏览器访问 http://localhost:80
浏览器访问 http://localhost:80
## 发布
## 发布
```bash
# 构建测试环境
# 构建测试环境
npm run build:stage
# 构建生产环境
# 构建生产环境
npm run build:prod
```

View File

@ -6,9 +6,9 @@ spring:
druid:
# 主库数据源
master:
url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
password: password
url: jdbc:mysql://localhost:3306/ry_vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: wh
password: Wh!1314
# 从库数据源
slave:
# 从数据源开关/默认关闭