Go to file
wanjia 399bbfb9d2 Merge commit '8b5f30f43dae38f64831f6cdc6d600efb703d96b' into dev_glcc 2024-06-04 11:05:18 +08:00
deploy deploy 2021-04-28 09:09:26 +08:00
lib 成果共享模块 2021-03-11 11:20:59 +08:00
share-api Merge commit '8b5f30f43dae38f64831f6cdc6d600efb703d96b' into dev_glcc 2024-06-04 11:05:18 +08:00
share-common feat(后台配置):配置奖励方式 2024-04-10 16:34:35 +08:00
share-model fix:时间配置取值问题 2024-06-04 10:27:51 +08:00
sql feat(GLCC2024):新赛季GLCC需求 2024-04-11 09:31:47 +08:00
.gitignore 用户信息 2021-03-23 10:37:22 +08:00
LICENSE Initial commit 2021-03-11 11:17:57 +08:00
README.md Update README.md 2023-05-18 11:18:44 +08:00
pom.xml 删除service模块 2021-03-12 09:04:31 +08:00

README.md

部署项目

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

  • 执行数据库初始化脚本 (sql/中)

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

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

更新前端资源方式

在后端项目中

git remote add static https://gitlink.org.cn/wanjia9506/java_backend_react_build.git

在后端项目根目录,执行

git subtree pull --prefix=share-api/src/main/resources/static/admin static glcc --squash

前端build资源仓库 https://www.gitlink.org.cn/wanjia9506/java_backend_react_build/tree/glcc