docs : 배포 내용 작성

dev
kjh 3 weeks ago
parent b517f35e42
commit 2d94553e66

@ -13,8 +13,17 @@ annotations, java 폴더가 Excluded 상태인데 마우스 우클릭해서 Sour
### 배포 ### 배포
```text ```text
[민자] [war 생성]
mvn clean package -P prod mvn clean package -P prod
[서버 war 반영]
경로 : /DATA/was/deploy-app/phts-manager/war
war명 : module-post-0.0.1-SNAPSHOT.war
[실행]
시작 : phts-manager_boot
종료 : phts-manager_down
참고 : deploy.sh
``` ```
### 업무 ### 업무

@ -0,0 +1,24 @@
echo "1.remove...."
rm -r /DATA/was/phts-manager/*
echo "2.file move...."
cp /DATA/was/deploy-app/phts-manager/war/module-post-0.0.1-SNAPSHOT.war /DATA/was/phts-manager/phts-manager.war
echo "3.unzip..."
cd /DATA/was/phts-manager/
jar xvf ./phts-manager.war
echo "4.add jar..."
cp /DATA/was/deploy-app/phts-manager/lib/tomcat-juli-8.5.4.jar /DATA/was/phts-manager/WEB-INF/lib/
cp /DATA/was/deploy-app/phts-manager/lib/javaee.jar /DATA/was/phts-manager/WEB-INF/lib/
#cp /was/deploy-app/phts-manager/lib/ojdbc8.jar /was/phts-manager/WEB-INF/lib/
#echo "5.remove jar..."
#rm -r /was/phts-manager/WEB-INF/lib/log4j-api-*.jar
#rm -r /was/phts-manager/WEB-INF/lib/log4j-to-slf4j-*.jar
#rm -r /was/phts-manager/WEB-INF/lib/tomcat-embed*.jar
#rm -r /was/phts-manager/WEB-INF/lib-provided/tomcat-embed*.jar
#echo "5.redis start..."
#java -jar ./war/redis-0.0.1-SNAPSHOT.jar
Loading…
Cancel
Save