初始化项目文件

This commit is contained in:
2025-07-11 16:54:11 +08:00
parent 6bffd582a0
commit 39fedaac16
213 changed files with 16944 additions and 0 deletions

20
build_file/dev/move.sh Normal file
View File

@ -0,0 +1,20 @@
#!/bin/bash
if [[ -n $(docker ps -qa -f "name=api_iris") ]]; then
cd /data/web/myweb
docker-compose down
fi
cd /data/web
if [[ -d "myweb_$(date +%Y%m%d)" ]]; then
rm -rf myweb_$(date +%Y%m%d)
fi
if [[ -d "myweb" ]]; then
mv myweb myweb_$(date +%Y%m%d)
fi
mkdir myweb
cp /mnt/build/build.zip myweb
cd myweb
unzip build.zip
chmod 755 -R /data/web/myweb
cd /data/web/myweb
bash update.sh $@