File tree Expand file tree Collapse file tree 6 files changed +18
-3
lines changed
src/main/resources/templates Expand file tree Collapse file tree 6 files changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ apply plugin: 'eclipse'
16
16
apply plugin : ' org.springframework.boot'
17
17
18
18
group = ' com.jojoldu'
19
- version = ' 0.0.3 '
19
+ version = ' 0.0.4 '
20
20
sourceCompatibility = 1.8
21
21
22
22
repositories {
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- /home/ec2-user/app/travis /deploy.sh > /dev/null 2> /dev/null < /dev/null &
2
+ /home/ec2-user/app/nonstop /deploy.sh > /dev/null 2> /dev/null < /dev/null &
Original file line number Diff line number Diff line change 9
9
<link rel =" stylesheet" href =" /css/lib/bootstrap.min.css" >
10
10
</head >
11
11
<body >
12
- <h1 >스프링부트로 시작하는 웹 서비스 Ver.2 </h1 >
12
+ <h1 >스프링부트로 시작하는 웹 서비스 Ver.4 </h1 >
13
13
<div class =" col-md-12" >
14
14
<button type =" button" class =" btn btn-primary" data-toggle =" modal" data-target =" #savePostsModal" >글 등록</button >
15
15
<br />
Original file line number Diff line number Diff line change @@ -695,5 +695,20 @@ sleep 10
695
695
696
696
! [deploy11](./images/7/deploy11.png)
697
697
698
+ 모든 스크립트 작업이 완료되었습니다!
699
+ 이제 전체 배포 과정에 적용해서 테스트해보겠습니다!
698
700
701
+ # # 7-4. 실제 배포에 적용
702
+
703
+ 프로젝트 폴더의 ` ` ` execute-deploy.sh` ` ` 에서 ` ` ` travis` ` ` 를 ` ` ` nonstop` ` ` 으로 변경합니다.
704
+
705
+ ! [deploy12](./images/7/deploy12.png)
706
+
707
+ 변경 사항을 좀 더 잘 확인하기 위해 ` ` ` build.gradle` ` ` 과 ` ` ` main.hbs` ` ` 를 아래와 같이 변경합니다.
708
+
709
+ ! [deploy13](./images/7/deploy13.png)
710
+
711
+ (좌측이 ` ` ` build.gradle` ` ` , 우측이 ` ` ` main.hbs` ` ` 입니다.)
712
+
713
+ 자! 모두다 수정하셨으면 git commit & push를 실행합니다.
699
714
You can’t perform that action at this time.
0 commit comments