Skip to content

Commit d884f7c

Browse files
committed
[스프링부트로 웹 서비스 출시하기 - 7. Nginx를 이용한 무중단 배포] 0.0.4 배포!
1 parent ee7d6f5 commit d884f7c

File tree

6 files changed

+18
-3
lines changed

6 files changed

+18
-3
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ apply plugin: 'eclipse'
1616
apply plugin: 'org.springframework.boot'
1717

1818
group = 'com.jojoldu'
19-
version = '0.0.3'
19+
version = '0.0.4'
2020
sourceCompatibility = 1.8
2121

2222
repositories {

execute-deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/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 &

src/main/resources/templates/main.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<link rel="stylesheet" href="/css/lib/bootstrap.min.css">
1010
</head>
1111
<body>
12-
<h1>스프링부트로 시작하는 웹 서비스 Ver.2</h1>
12+
<h1>스프링부트로 시작하는 웹 서비스 Ver.4</h1>
1313
<div class="col-md-12">
1414
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#savePostsModal">글 등록</button>
1515
<br/>

tutorial/7_NGINX_SSL_무중단배포.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -695,5 +695,20 @@ sleep 10
695695
696696
![deploy11](./images/7/deploy11.png)
697697
698+
모든 스크립트 작업이 완료되었습니다!
699+
이제 전체 배포 과정에 적용해서 테스트해보겠습니다!
698700
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를 실행합니다.
699714

tutorial/images/7/deploy12.png

644 KB
Loading

tutorial/images/7/deploy13.png

1.28 MB
Loading

0 commit comments

Comments
 (0)