初始化项目
This commit is contained in:
41
docker/copy.sh
Normal file
41
docker/copy.sh
Normal file
@@ -0,0 +1,41 @@
|
||||
#!/bin/sh
|
||||
|
||||
# 复制项目的文件到对应docker路径,便于一键生成镜像。
|
||||
usage() {
|
||||
echo "Usage: sh copy.sh"
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
||||
# copy sql
|
||||
echo "begin copy sql "
|
||||
cp ../sql/ry_20231130.sql ./mysql/db
|
||||
cp ../sql/ry_config_20231204.sql ./mysql/db
|
||||
|
||||
# copy html
|
||||
echo "begin copy html "
|
||||
cp -r ../wfc-ui/dist/** ./nginx/html/dist
|
||||
|
||||
|
||||
# copy jar
|
||||
echo "begin copy wfc-gateway "
|
||||
cp ../wfc-gateway/target/wfc-gateway.jar ./ruoyi/gateway/jar
|
||||
|
||||
echo "begin copy wfc-auth "
|
||||
cp ../wfc-auth/target/wfc-auth.jar ./ruoyi/auth/jar
|
||||
|
||||
echo "begin copy wfc-visual "
|
||||
cp ../wfc-visual/wfc-monitor/target/wfc-visual-monitor.jar ./ruoyi/visual/monitor/jar
|
||||
|
||||
echo "begin copy wfc-modules-system "
|
||||
cp ../wfc-modules/wfc-system/target/wfc-modules-system.jar ./ruoyi/modules/system/jar
|
||||
|
||||
echo "begin copy wfc-modules-file "
|
||||
cp ../wfc-modules/wfc-file/target/wfc-modules-file.jar ./ruoyi/modules/file/jar
|
||||
|
||||
echo "begin copy wfc-modules-job "
|
||||
cp ../wfc-modules/wfc-job/target/wfc-modules-job.jar ./ruoyi/modules/job/jar
|
||||
|
||||
echo "begin copy wfc-modules-gen "
|
||||
cp ../wfc-modules/wfc-gen/target/wfc-modules-gen.jar ./ruoyi/modules/gen/jar
|
||||
|
||||
Reference in New Issue
Block a user