스프링

  • Touch and Swipe
    스프링

    16 4. ★ docker  AWS  서버 구축  및 깃 연동 배포 후 Docker  톰캣 컨테이너와    nginx   연동 후 ssl 자동갱신

     AWS   Docker 로  서버 구축   설치 ubuntu:latest ,   java8 , maven,  mariadb, git 1. Dockerfile--------------------------------…

  • Touch and Swipe
    스프링

    12 스프링 summernote 설정

    http://summernote.org/ 다운로드   섬머노트는 ctrl+c 로해서 이미지를 붙여 넣을 수 있다. 즉 Drop down 방식을 취하며 이러한  이미지의 파…

  • Touch and Swipe
    스프링

    10 3. Docker 로 서버 구축 및 git 연동 자동 배포 - Docker  톰캣 컨테이너와    nginx  ssl 연동 ★

     1) Docker 명령어 정리 2) 도커(Docker) 커맨드 요약도커 관련 개념+ 도커 이미지  - 컨테이너 실행을 위해 필요한 프로그램/라이브러리/소스파일…

  • Touch and Swipe
    스프링

    9 6. [동영상 강좌] - 박재성 (스프링 부트 ) - 1-5. 원격 서버에 소스 코드 배포하기 2 단계, 리눅스 jdk 설치 - ******* (리눅스(서버) 깃 연동 배포) *******

      ## 1-5. 원격 서버(개발 서버 또는 실 서버) 에 소스 코드 배포하기 2 * 자바 설치 * git 설치 * git clone 후 빌드 * 서버 시작 ##################…

  • Touch and Swipe
    스프링

    9 33. [동영상 강좌] - 박재성 (스프링 부트 ) - 1-3 cygwin 터미널 환경에서 git 사용하기(windows 10)

    choi@choi-PC MINGW64 /g/dev/my-slipp-terminal (master) $ ls -al total 44 drwxr-xr-x 1 choi 197121    0 8월   3 19:03 ./ drwxr-xr-x 1 choi 197121    0 8월   …

  • Touch and Swipe
    스프링

    9 스프링 파일 업로드 설정 9 - 년월일별로 파일의 저장 , 이미지 썸네일 저장, 화면에 표시 , 삭제, 파일 보안처리 설정 -9 - CJH - 9 ★

     서버에서는 파일을 저장할 때 반드시 고려해야 하는 사항은 다음과 같다.- 파일 이름의 중복 문제- 파일의 저장 경로에 대한 문제- 원본 파일을 그…

  • Touch and Swipe
    스프링

    8 ★ 스프링부트 글로벌 에러페이지 설정 및 ajax, json 에러 처리

     스프링부트 사용 버전소스 : https://github.com/braverokmc79/Springboot-JPA-Blog<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-…

  • Touch and Swipe
    스프링

    8 스프링 암호화 설정 방법 - 최준호

    1. POM.XML 파일에 라이브러리를 추가.   <!-- 시큐리티 --> <dependency> <groupId>org.springframework.security</groupId> …

  • Touch and Swipe
    스프링

    7 18. [동영상 강좌] - 박재성 (스프링 부트 ) - 3-3. 새로운 HTML 적용 및 URL 리팩토링 - ( mustach include )

      class UserController  package net.slipp.web; import java.util.ArrayList; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.spr…

  • Touch and Swipe
    스프링

    7 25. [동영상 강좌] - 박재성 (스프링 부트 ) - 4-2. 로그인 상태에 따른 메뉴 처리 및 로그아웃 ( sql - 초기데이터 자동 삽입), Mustache - session 인식

    JPA 초기 데이터 삽입     src/main/resource   에 import.sql 파일 이름으로 다음과 같이 데이터를 삽입 하는 쿼리를 작성한다. INSERT INTO …

  • Touch and Swipe
    스프링

    47. [동영상 강좌] - 박재성 (스프링 부트 ) - 6-0. 여섯 번째 반복주기 학습 목표 및 과정 설명

    ## 반복주기 6 학습 목표 * JSON API 및 AJAX 를 활용해 답변 추가/삭제 구현   ## 강의 순서 * 6-1. AJAX를 활용해 답변 추가 기능 구현 * 6-2. AJAX…

  • Touch and Swipe
    스프링

    48. [동영상 강좌] - 박재성 (스프링 부트 ) - 6-1. AJAX를 활용한 답변 추가 1

      show.html <form class="answer-write" method="post" action="/api/questions/{{id}}/answers"> <div class="form-group" …

  • Touch and Swipe
    스프링

    49. [동영상 강좌] - 박재성 (스프링 부트 ) - 6-2. AJAX를 활용한 답변 추가 2

    Git-Hub    https://github.com/braverokmc79/spring_boot_demo2   class ApiAnswerController package net.slipp.web; import javax.servlet.http.HttpSession; import org.s…

  • Touch and Swipe
    스프링

    ★ 중요 ★★ - Aajx 처리 handlebar 와 같은 처리 방법 자바스크립트 코드, 템플릿 format ★

     템플리 포멧 형식 변환  코드 String.prototype.format = function() { var args = arguments; return this.replace(/{(\d+)}/g, function(match, number) { re…

  • Touch and Swipe
    스프링

    50. [동영상 강좌] - 박재성 (스프링 부트 ) - 6-3. AJAX를 활용해 답변 삭제 기능 구현

    Git-Hub     https://github.com/braverokmc79/spring_boot_demo2     ApiAnswerController package net.slipp.web; import javax.servlet.http.HttpSession; i…

  • Touch and Swipe
    스프링

    51. [동영상 강좌] - 박재성 (스프링 부트 ) - 6-4. 질문 목록에 답변 수 보여주기 기능 추가

    Git-Hub     https://github.com/braverokmc79/spring_boot_demo2   import.sql count_of_answer 추가 INSERT INTO USER (ID, USER_ID, PASSWORD , NAME, EMAIL) VALUES…

  • Touch and Swipe
    스프링

    52. [동영상 강좌] - 박재성 (스프링 부트 ) - 6-5. 도메인 클래스에 대한 중복 제거 및 리팩토링

    Git-HUB https://github.com/braverokmc79/spring_boot_demo2/commits/master   DemoApplication @EnableJpaAuditing 추가 package net.slipp; import org.springframework.boot.SpringA…

  • Touch and Swipe
    스프링

    53. [동영상 강좌] - 박재성 (스프링 부트 ) - 6-6. Swagger 라이브러리를 통한 API 문서화 및 테스트

    http://springboot.tistory.com/23   pom.xml <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger-ui<…

  • Touch and Swipe
    스프링

    54. [동영상 강좌] - 박재성 (스프링 부트 ) - 6-7. 쉘 스크립트를 활용한 배포 자동화

    ## 배포 순서 * git pull * 메이븐 빌드(mvnw clean package) * tomcat 서버 종료 * tomcat/webapps/ROOT 삭제 * 빌드한 산출물을 tomcat/webapps/ROOT로 이동 * tomca…

  • Touch and Swipe
    스프링

    55. [동영상 강좌] - 박재성 (스프링 부트 ) - 1-7. AWS 원격 서버에 자바 소스 코드 배포 및 재배포

                * 자바설치         아마존 AWS    * 자바 설치  …