Go to file
xiaoxiaoqiong e64a3340f6 审核公示名单
Former-commit-id: 67a0ff289fbe8b06c1791564802e10b3a69ebc75
2022-06-23 13:59:20 +08:00
deploy deploy 2021-04-28 09:09:26 +08:00
lib 成果共享模块 2021-03-11 11:20:59 +08:00
share-api 审核公示名单 2022-06-23 13:59:20 +08:00
share-common 审核后发送邮件消息 2022-06-02 13:18:42 +08:00
share-model 审核公示名单 2022-06-23 13:59:20 +08:00
sql 项目增加推荐标识 2022-06-17 11:02:00 +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 &