目录调整
This commit is contained in:
BIN
deploy/oa/assets/img.png
Normal file
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
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
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
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
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
66
deploy/oa/开发文档.md
Normal file
@ -0,0 +1,66 @@
|
||||
# 项目结构
|
||||
|
||||
## jeecg-boot目录结构
|
||||
|
||||

|
||||
|
||||
## jeecg-boot-starter目录结构
|
||||
|
||||

|
||||
|
||||
# 华为云上前后端位置
|
||||
- 前后端位置:/workspace/www/oa
|
||||
- 后端地址:/workspace/www/oa/jeecg-boot
|
||||

|
||||
**说明:**
|
||||
- 配置文件
|
||||
- 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
|
||||

|
||||
**说明:**
|
||||
- 相当于dist文件目录下,部署时(jeecg-boot-vue3+时间)改名后
|
||||
dist在/workspace/www/oa改名为jeecg-boot-vue3即可
|
||||
- 前端使用nginx启动
|
||||
- nginx配置文件地址:/workspace/nginx/conf.d
|
||||

|
||||
- 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
|
||||
- 重启nginx:docker 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
|
Reference in New Issue
Block a user