2
0

Compare commits

3 Commits

Author SHA1 Message Date
wfc
f95377d20b Make script executable & update directory 2024-11-19 17:03:11 +08:00
wfc
8889def8e1 Make script executable & update directory 2024-11-19 17:02:14 +08:00
wfc
f62a2147fb Make script executable & update directory 2024-11-19 16:54:05 +08:00
4 changed files with 9 additions and 5 deletions

2
docker/copy.sh Normal file → Executable file
View File

@@ -14,7 +14,7 @@ cp ../sql/wfc-config.sql ./mysql/db
# copy html # copy html
echo "begin copy html " echo "begin copy html "
cp -r ../../fe.crm/dist/** ./nginx/html/dist cp -r ../../fe.wfc/dist/** ./nginx/html/dist
# copy jar # copy jar

0
docker/deploy.sh Normal file → Executable file
View File

View File

@@ -15,4 +15,4 @@ sudo docker stop wfc-modules-system
sudo docker rm wfc-modules-system sudo docker rm wfc-modules-system
sudo docker rmi docker_wfc-modules-system sudo docker rmi docker_wfc-modules-system
sudo ./deploy.sh backend sudo ./deploy.sh backend
sudo docker restart wfc-modules-system sudo docker restart wfc-modules-system

10
docker/start-frontend.sh Normal file → Executable file
View File

@@ -1,11 +1,15 @@
#!/bin/sh #!/bin/sh
cd ../../fe.crm/ cd ../../fe.wfc/
git pull git pull
pnpm build pnpm build
cd ../be.crm/docker/ cd ../be.wfc/docker/
./copy.sh ./copy.sh
<<<<<<< HEAD
sudo ./deploy.sh backend
=======
sudo docker stop wfc-nginx sudo docker stop wfc-nginx
sudo docker rm wfc-nginx sudo docker rm wfc-nginx
sudo docker rmi nginx sudo docker rmi nginx
sudo ./deploy.sh frontend sudo ./deploy.sh frontend
>>>>>>> fc0169ca987f34d6adf6016e96461d3109bd288b