目录调整

This commit is contained in:
2025-04-14 17:40:50 +08:00
parent f6a2766330
commit 0255184096
47 changed files with 195 additions and 0 deletions

BIN
deploy/oa/assets/img.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

BIN
deploy/oa/assets/img_1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
deploy/oa/assets/img_2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
deploy/oa/assets/img_3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
deploy/oa/assets/img_4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

66
deploy/oa/开发文档.md Normal file
View File

@ -0,0 +1,66 @@
# 项目结构
## jeecg-boot目录结构
![img](assets/img.png)
## jeecg-boot-starter目录结构
![img](assets/img_1.png)
# 华为云上前后端位置
- 前后端位置:/workspace/www/oa
- 后端地址:/workspace/www/oa/jeecg-boot
![img](assets/img_2.png)
**说明:**
- 配置文件
- Dockerfile:docker
- 启动服务jar包
- jeecg-system-start-3.7.4.jar
- 后端更新流程
- mvn clean install
- jeecg-boot/jeecg-module-system/jeecg-system-start/target/jeecg-system-start-3.7.4.jar 地址下拿取jar包上传华为云服务器
- 停服务docker stop jeecg-boot
- 删镜像docker rm jeecg-boot
- 跳转至启动目录cd /workspace/www/oa/jeecg-boot
- 构建不要忘记后面空格和点docker build -t jeecg-boot:1.0 .
- 启动docker run -it --name jeecg-boot -v /workspace/www/oa/jeecg-boot -p 8083:8080 --restart=always -d jeecg-boot:1.0
- 查看是否启动成功docker ps 命令看jeecg-boot是否正常
- 查看后端日志docker logs jeecg-boot | tail -n 100
- 前端地址:/workspace/www/oa/jeecg-boot-vue3
![img](assets/img_3.png)
**说明:**
- 相当于dist文件目录下部署时jeecg-boot-vue3+时间)改名后
dist在/workspace/www/oa改名为jeecg-boot-vue3即可
- 前端使用nginx启动
- nginx配置文件地址/workspace/nginx/conf.d
![img](assets/img_4.png)
- pnpm run build
- 前端打包后压缩dist文件夹上传压缩包至/workspace/www/oa目录下
- 重新命名jeecg-boot-vue3文件夹jeecg-boot-vue3+时间)
- 解压dist.zip
- cd /workspace/www/oa
- unzip dist.zip
- 重命名dist文件夹为jeecg-boot-vue3
- 重启nginxdocker restart nginx
- 数据库:
- datasource:
master:
url: jdbc:mysql://yinghuasoft.com:3305/jeecg-boot?useSSL=false&serverTimezone=UTC&useInformationSchema=true
username: root
password: Yinghua@ecs
driver-class-name: com.mysql.cj.jdbc.Driver
- redis
- redis:
database: 0
host: 123.249.108.39
port: 6379
password:
lettuce:
pool:
max-active: 100
max-idle: 50
min-idle: 10
**前后端访问地址**
- 前端访问地址https://oa.yinghuasoft.com
- 后端api访问地址http://123.249.108.39:8083/jeecg-boot/doc.html#/home