mirror of
https://gitee.com/anji-plus/report.git
synced 2026-03-20 09:38:35 +08:00
user login update
This commit is contained in:
21
README.md
21
README.md
@@ -20,18 +20,18 @@
|
||||
## 数据流程图
|
||||

|
||||
|
||||
## 打包目录
|
||||
## 打包目录build
|
||||
```
|
||||
├── bin 启动命令脚本
|
||||
│ ├── logs 启动日志目录
|
||||
│ ├── cache 本地缓存目录
|
||||
│ ├── startup.cmd
|
||||
│ ├── shutdown.cmd
|
||||
│ ├── startup.sh
|
||||
│ └── shutdown.sh
|
||||
├── config 配置文件目录
|
||||
├── lib 自定义扩展包
|
||||
├── target report-core核心包
|
||||
│ ├── restart.sh
|
||||
│ ├── start.bat
|
||||
│ ├── start.sh
|
||||
│ └── stop.sh
|
||||
├── conf 配置文件目录
|
||||
│ └── bootstrap-dev.yml
|
||||
├── logs 启动日志目录
|
||||
├── cache 本地缓存目录
|
||||
├── lib 自定义扩展包&report-core核心包
|
||||
```
|
||||
|
||||
## 系统目录
|
||||
@@ -82,6 +82,7 @@ sh build.sh
|
||||
|
||||
unzip report-core-xxxx.zip
|
||||
cd report-core-xxxx
|
||||
vim conf/bootstrap-dev.yml 数据库连接
|
||||
sh bin/start.sh
|
||||
|
||||
启动后访问
|
||||
|
||||
@@ -1,25 +1,33 @@
|
||||
## 快速部署
|
||||
下载地址:[https://gitee.com/anji-plus/report/releases](https://gitee.com/anji-plus/report/releases)
|
||||
```js
|
||||
第一步,下载zip包,解压<br>
|
||||
第二步,config->application.properties,修改mysql连接<br>
|
||||
第三步,启动bin目录下startup.cmd(Windows)或者startup.sh(Linux)<br>
|
||||
第二步,conf->bootstrap-dev.yml,修改mysql连接<br>
|
||||
第三步,启动bin目录下start.sh<br>
|
||||
第四步,访问 http://localhost:9095/index.html
|
||||
```
|
||||
|
||||
## 源码打包
|
||||
```js
|
||||
第一步,cd report-ui
|
||||
npm install
|
||||
npm run build
|
||||
第二步,cd report-core/src/main/resources/static
|
||||
将第一步打包文件dist文件夹下所有文件copy到当前目录
|
||||
第三步,cd cd report-core
|
||||
不可使用install,install会报错的
|
||||
mvn clean package -Dmaven.test.skip=true
|
||||
第四步,启动 java -jar report-core-1.0.0-SNAPSHOT.jar
|
||||
## 编译打包
|
||||
在Linux上先准备好maven、node.js、jdk
|
||||
- [Apache Maven] 3.5 +<br>
|
||||
- [Node.js] v14.16.0+<br>
|
||||
- [Jdk] 1.8+
|
||||
```
|
||||
git clone https://gitee.com/anji-plus/report.git
|
||||
cd report
|
||||
sh build.sh
|
||||
编译完成放在build文件夹 report-core-xxxx.zip
|
||||
|
||||
unzip report-core-xxxx.zip
|
||||
cd report-core-xxxx
|
||||
vim conf/bootstrap-dev.yml 数据库连接、上传文件的路径以及地址修改
|
||||
sh bin/start.sh
|
||||
|
||||
启动后访问
|
||||
http://serverip:9095
|
||||
```
|
||||
|
||||
也可以前后端分开单独部署,前端部署nginx,后端jar
|
||||
```
|
||||
|
||||
## 系统特性
|
||||
1. 最新最稳定的技术栈;
|
||||
|
||||
@@ -131,10 +131,11 @@ export default {
|
||||
placeholder: '',
|
||||
field: 'password',
|
||||
tableHide: true, // 表格中不显示
|
||||
editHide: true,
|
||||
editField: 'password',
|
||||
inputType: 'input',
|
||||
rules: [
|
||||
{ required: true, message: '密码必填', trigger: 'blur' },
|
||||
// { required: true, message: '密码必填', trigger: 'blur' },
|
||||
{ min: 1, max: 128, message: '不超过128个字符', trigger: 'blur' },
|
||||
],
|
||||
disabled: false,
|
||||
|
||||
Reference in New Issue
Block a user