Make script executable & update directory

This commit is contained in:
wfc committed 2024-11-19 17:02:14 +08:00
commit 8889def8e1
4 files changed
+34 -17

No files matched your search

+4 -6
View File
@@ -36,14 +36,12 @@ modules(){
# 启动程序模块(后端)
backend(){
docker-compose up --build -d wfc-gateway wfc-auth wfc-modules-system
docker image prune
docker-compose up -d wfc-gateway wfc-auth wfc-modules-system
}
# 启动程序模块(前端)
frontend(){
docker-compose up --build -d wfc-nginx
docker image prune
docker-compose up -d wfc-nginx
}
# 关闭所有环境/模块
@@ -68,10 +66,10 @@ case "$1" in
modules
;;
"backend")
modules
backend
;;
"frontend")
modules
frontend
;;
"stop")
stop
-8
View File
@@ -1,8 +0,0 @@
#!/bin/sh
cd ..
git pull
mvn clean package -P test
cd docker
./copy.sh
sudo ./deploy.sh backend
+7
View File
@@ -5,4 +5,11 @@ git pull
pnpm build
cd ../be.wfc/docker/
./copy.sh
<<<<<<< HEAD
sudo ./deploy.sh backend
=======
sudo docker stop wfc-nginx
sudo docker rm wfc-nginx
sudo docker rmi nginx
sudo ./deploy.sh frontend
>>>>>>> fc0169ca987f34d6adf6016e96461d3109bd288b