From ec9edb86199992ca64cfb7fcc84eed73aaa8afc2 Mon Sep 17 00:00:00 2001 From: jiangfeng Date: Thu, 21 Oct 2021 15:51:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9pom=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E4=B8=AD=E6=89=93=E5=8C=85=E5=90=8E=E7=9A=84=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E4=B8=BAenjoy-viid.jar=EF=BC=8C=E4=BF=AE=E6=94=B9application.y?= =?UTF-8?q?ml=E6=96=87=E4=BB=B6=E4=B8=AD=E7=9A=84=E5=9C=B0=E5=9D=80?= =?UTF-8?q?=E4=B8=BA/home/enjoyviid/uploadPath=EF=BC=8C=E6=B7=BB=E5=8A=A0R?= =?UTF-8?q?EADME.md=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 ++++++---- pom.xml | 1 + src/main/resources/application.yml | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index f6bf08e..628cc9e 100644 --- a/README.md +++ b/README.md @@ -16,9 +16,11 @@ #### 安装教程 -1. xxxx -2. xxxx -3. xxxx +1. 首先使用git将项目克隆到本地,项目地址:https://gitee.com/tsingeye/EnjoyVIID.git +2. 使用本项目提供的enjoyviid.sql文件新建本地数据库。enjoyviid.sql文件位于/sql文件夹下。 +3. 配置好本地maven及其仓库地址。 +4. 使用maven打包命令打包部署,打包后的项目为enjoy-viid.jar +5. 使用java -Xms1g -Xmx1g -jar enjoy-viid.jar命令部署项目 #### 使用说明 @@ -50,7 +52,7 @@ 4. 存储:将设备传输过来的图片存储到本系统的minio中。 ``` ## 服务端代码启动 -***windows系统:java -Xms1g -Xmx1g -jar enjoyvds-1.0-SNAPSHOT.jar*** +***windows系统:java -Xms1g -Xmx1g -jar enjoy-viid.jar*** ## 需对外接口 1. 登录、登出 diff --git a/pom.xml b/pom.xml index c42ac61..317b935 100644 --- a/pom.xml +++ b/pom.xml @@ -117,6 +117,7 @@ + enjoy-viid org.springframework.boot diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index d869a3b..216248c 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -9,7 +9,7 @@ enjoyviid: # 实例演示开关 demoEnabled: true # 文件路径 示例( Windows配置D:/enjoyviid/uploadPath,Linux配置 /home/enjoyviid/uploadPath) - profile: D:/enjoyviid/uploadPath + profile: /home/enjoyviid/uploadPath # 获取ip地址开关 addressEnabled: false -- Gitee