zhanghl
2025-05-23 dec8951aae400e54f6ee83a8f95867dba9da8af1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/bin/sh
 
# 复制项目的文件到对应docker路径,便于一键生成镜像。
usage() {
    echo "Usage: sh copy.sh"
    exit 1
}
 
 
# copy sql
echo "begin copy sql "
cp ../sql/ry_20240629.sql ./mysql/db
cp ../sql/ry_config_20250224.sql ./mysql/db
 
# copy html
echo "begin copy html "
cp -r ../aps-ui/dist/** ./nginx/html/dist
 
 
# copy jar
echo "begin copy aps-gateway "
cp ../aps-gateway/target/aps-gateway.jar ./ruoyi/gateway/jar
 
echo "begin copy aps-auth "
cp ../aps-auth/target/aps-auth.jar ./ruoyi/auth/jar
 
echo "begin copy aps-visual "
cp ../aps-visual/aps-monitor/target/aps-visual-monitor.jar  ./ruoyi/visual/monitor/jar
 
echo "begin copy aps-modules-system "
cp ../aps-modules/aps-system/target/aps-modules-system.jar ./ruoyi/modules/system/jar
 
echo "begin copy aps-modules-file "
cp ../aps-modules/aps-file/target/aps-modules-file.jar ./ruoyi/modules/file/jar
 
echo "begin copy aps-modules-job "
cp ../aps-modules/aps-job/target/aps-modules-job.jar ./ruoyi/modules/job/jar
 
echo "begin copy aps-modules-gen "
cp ../aps-modules/aps-gen/target/aps-modules-gen.jar ./ruoyi/modules/gen/jar