본문 바로가기
Back-End/Spring Boot

Spring Boot - 환경 변수 설정 및 파일 설치

by 코젼 2022. 7. 19.
728x90
반응형

2022-07-19(22일차)

jdk, 환경 변수 설정
path 디렉터리 설정
mysql 설치
인텔리제이 설치
spring boot 설정
lombok 설치

💡 환경 변수 설정

◾ ms949 -> utf-8 변경 작업 필요
◾ 시스템 변수 - JAVA_HOME
◾ 사용자 변수 - path - JAVA_HOME 설정

파일 탐색기 - 내 PC - (우클릭)속성 - 고급 시스템 설정
고급 - 환경 변수
사용자 변수 - Path - 편집
새로 만들기 - %JAVA_HOME%bin 추가
시스템 변수 - JAVA_HOME이 없다면 추가한다. 경로는 jdk 설치 경로로 할 것
시스템 변수 - Path - 편집 - %JAVA_HOME%bin


💡 java 버전 확인


💡 LAN Messenger - 메신저 프로그램

http://lanmsngr.sourceforge.net/downloads.php

 

LAN Messenger - Downloads

LAN Messenger Instant messaging client Download LAN Messenger Windows LAN Messenger for Windows Mac OS X LAN Messenger for Mac OS X Source Download the source code. Linux / X11 LAN Messenger for Debian/Ubuntu LAN Messenger for Fedora/openSUSE Translations

lanmsngr.sourceforge.net

 

설치 화면


💡 Notepad++ 설치

Notepad++ (notepad-plus-plus.org)

 

Notepad++

What is Notepad++ Notepad++ is a free (as in “free speech” and also as in “free beer”) source code editor and Notepad replacement that supports several languages. Running in the MS Windows environment, its use is governed by GNU General Public Lice

notepad-plus-plus.org

8.4.2버전 다운로드

설치 화면
English, Chinese 체크
Japanese, Korean 체크


💡 이클립스 스프링 부트 설치 (STS)

Spring | Tools

 

Spring Tools 4 is the next generation of Spring tooling

Largely rebuilt from scratch, Spring Tools 4 provides world-class support for developing Spring-based enterprise applications, whether you prefer Eclipse, Visual Studio Code, or Theia IDE.

spring.io

 

 

바탕화면에 바로 가기 만들기
실행중
실행 화면


💡 Lombok 설치

https://projectlombok.org/download

 

Download

 

projectlombok.org

lombok.jar 파일을 다운바당 sts 파일이 있는 장소에 copy한다.

◾ 알집때문에 실행이 안된다면? cmd로 실행하기

cmd로 실행하는 법


💡 Spring initializr

https://start.spring.io/

◾ .xml - maven 프로젝트
◾ build.gradle - gradle 프로젝트

💬 패키징
◾ jar - 외부 jar를 인식할 수 없어서 jsp페이지를 띄울 수 없다.
◾ war - jsp 페이지를 컴파일 할 수 있다.

💡 Maven Repository

https://mvnrepository.com/

 

Maven Repository: Search/Browse/Explore

data converter core Last Release on Jul 18, 2022

mvnrepository.com


💡 네트워크 드라이브 연결


💡 인텔리제이 설치

💬 web에서 받는 정보
◾ key는 무조건 문자열, Value는 모든지 가능하다.(Json, 문자열, 숫자,...)
◾ json의 list 형태 [(), (), (),...]
◾ json이 하나 있는 형태

https://www.jetbrains.com/ko-kr/idea/download/#section=windows

 

다운로드 IntelliJ IDEA: 우수성과 인체 공학이 담긴 JetBrains Java IDE

 

www.jetbrains.com


아무데서나 실행할 수 있게 하려면 Add "bin" 체크,  .kt는 코틀린 파일이다.
lombok 라이브러리가 이미 설치되어있다.


◾ 리액트, 앵귤러, 뷰는 완전히 서버와 독립적으로 작용된다. - JSON방식으로 이용
◾ 화면에서는 넘어온 주소를 호출하고 넘어온 JSON으로 화면에 보여줘서 리스트를 갱신함
 --> 주소를 받아서 데이터를 만들어서 JSON으로 주기

◾ MyBatis, View js, Spring boot
◾ jdk, spring boot 버전 중요

◾ 프론트엔드와 백엔드는 현재 분리되어 있는 상태이다.
  --> 서버 로직이 간단해진다.


◾ 서버의 요청이 어떻게 올라가는지, 파일 업로드 등이 어떻게 되는지, csv파일 컴파일, 엑셀 파일 db 저장, pdf 다운 생성 등
⭐ 자바스크립트, Trie스크립트, 뷰js, 리액트js 공부하면 도움이 됩니다 ^_^
화면에서 꾸미는 부트 스트랩, 프론트엔드(제이쿼리보다는 뷰, 리액트 등) 해보기!!

💬 인텔리제이로 프로젝트 만들기


✨ Reference

본 게시물은 '스프링 부트 쇼핑몰 프로젝트 with JPA' 를 참고하였습니다.

 

728x90
반응형

'Back-End > Spring Boot' 카테고리의 다른 글

Spring Boot - JPA  (0) 2022.07.21
Spring Boot - 어노테이션 종류  (0) 2022.07.20
Spring Boot - jsp 파일 생성, web 확인  (0) 2022.07.20
Spring Boot - jsp  (0) 2022.07.20
Spring boot - 시작하기  (0) 2022.07.19

댓글