반응형

# 개발환경 세팅

## JDK 설치

 

## DB 관리 툴 (SQLYOG)

 

webyog/sqlyog-community

Contribute to webyog/sqlyog-community development by creating an account on GitHub.

github.com

 

## MariaDB 10

 

XAMPP Installers and Downloads for Apache Friends

What is XAMPP? XAMPP is the most popular PHP development environment XAMPP is a completely free, easy to install Apache distribution containing MariaDB, PHP, and Perl. The XAMPP open source package has been set up to be incredibly easy to install and to us

www.apachefriends.org

  • 설치 시 MySQL 제외 전부 체크해제하여 설치
  • XAMPP 실행 후 MySQL 설정
Config 클릭하여 ini 진입
UTF 8 Settings 의 내용들 주석(#) 해제

[mysqld] 의 아래에 아래 내용 추가
lower_case_table_names = 2 (테이블 명에 대소문자 허용)

 

## 스프링 프레임워크 STS

 

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

  • 설치 완료 후 ini 설정 변경
-startup
plugins/org.eclipse.equinox.launcher_1.6.0.v20200915-1508.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.2.0.v20200915-1442
-product
org.springframework.boot.ide.branding.sts4
--launcher.defaultAction
openFile
-vm
plugins/org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_15.0.1.v20201027-0507/jre/bin
-vmargs
-Dosgi.requiredJavaVersion=11
-Dosgi.dataAreaRequiresExplicitInit=true
-Xms1024m
-Xmx2048m
--add-modules=ALL-SYSTEM
-vm
C:\Program Files\Java\jdk1.8.0_281\bin
  • STS 실행 후 workspace의 겨우 c 드라이브 등으로 지정
  • Preferences 에서 'files' 검색 EUC-KR 되어있으면 ISO UTF-8로 변경
  • Preferences 에서 'work' 검색 Workspace 하단에 Text-file encoding 항목 other 클릭 후 UTF-8로 변경
  • Preferences 에서 'font' 검색 Colors and Fonts 에서 basic > Text Font 클릭 후 Edit 하여 D2코딩 폰트 설정 및 폰트 사이즈 변경
  • Preferences 에서 'vm' 검색 Installed JREs 에서 jre 이름으로 된 것 클릭 후 Edit, jdk로 변경
  • Create new Spring Starter Project 클릭 후 필요한 외부 의존성 설치 (Maven 이용 pom.xml에서 확인 가능)
next 후
Spring Boot DevTools
Lombok
MyBatis Framework
MySQL Driver
Spring Web
선택하여 Finish

 

## 코드 편집기 (VS code : visual studio code)

 

Visual Studio Code - Code Editing. Redefined

Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications.  Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows.

code.visualstudio.com

 

## 코딩용 폰트 (D2 코딩)

 

naver/d2codingfont

D2 Coding 글꼴. Contribute to naver/d2codingfont development by creating an account on GitHub.

github.com

  • Releases > zip 파일 다운로드.
  • 압축 해제 후 'D2CodingBold-Ver' 설치 진행

 

## lombok 적용 위한 패치

  • C:\Users\hyeonho\.m2\repository\org\projectlombok\lombok\1.18.16 에서 Shift 우클릭하여 파워쉘 열기 진행
  • 아래와 같이 입력하여 실행
java -jar lom입력 후 tab 치면 자동 입력되며, 엔터로 설치파일 실행
  • 실행 후 Specity location 클릭, c드라이브에 넣은 sts-4.9.0.RELEASE 내 SpringToolSuit4.exe 선택 후 Install/update 진행
  • 이렇게 해줘야 lombok이 적용된다.

 

## 크롬 LiveReload

데브 툴스와 함께 사용 시 실시간으로 이클립스 내에서 변화하는 내용이 반영되는게 보여진다.

 

LiveReload

Provides Chrome browser integration for the official LiveReload apps (Mac & Windows) and third-parties like guard-livereload and…

chrome.google.com

반응형

+ Recent posts