Go to file
zengwei e9701c19c8 deploy
Former-commit-id: 30d7bd5ea934995a52c94494ba03ea2a95464b61
2021-04-17 13:05:36 +08:00
deploy deploy 2021-04-17 13:05:36 +08:00
lib 成果共享模块 2021-03-11 11:20:59 +08:00
share-api deploy 2021-04-17 11:23:33 +08:00
share-common 修改文件上传 2021-04-13 10:30:58 +08:00
share-model 修改前端 2021-04-17 11:12:21 +08:00
sql 资源库 2021-04-01 11:34:55 +08:00
.gitignore 用户信息 2021-03-23 10:37:22 +08:00
LICENSE Initial commit 2021-03-11 11:17:57 +08:00
README.md 部署说明 2021-04-13 15:51:05 +08:00
pom.xml 删除service模块 2021-03-12 09:04:31 +08:00

README.md

部署share项目

  • 创建上传文件目录并添加写权限
sudo mkdir /path/to/file #此处为存放上传文件的目录
  • 将目录放到配置文件
## 文件相关
FILES:
  BASEPATHFILE: /path/to/file
  • 将jar包和配置文件上传到服务器在application.yml中配置数据库连接信息

  • 执行数据库初始化脚本 share.sql

  • 将jar包上传到服务器并在服务上执行以下命令启动服务

nohup java -jar -Dserver.port=8081 share-api-1.0.0.jar --spring.config.location=application.yml &