Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »


기준환경(Environment)

System

MacOS Catalina 10.15.6

JAVA Version

JAVA 11

IDEA Version

IntelliJ IDEA 2020.2(Ultimate Edition)

Git Version

2.15.0


ICE4 설치전 필수설치

Install Git

참고: Git - Windows10

Install JAVA 11

참고: JAVA 11 설치 - Windows10

Install IntelliJ IDEA

공식홈페이지에서 설치

Download IntelliJ IDEA Ultimate

https://www.jetbrains.com/idea/download/

Install IntelliJ IDEA Ultimate

Gitlab 프로젝트 멤버 추가

Gitlab 가입

ICE4 Gitlab 관리자에게 이메일로 초대 요청하여 가입

→ 관리자: DXP본부 박유라 대리(angela.park@i-on.net)

→ 장애문의, 신규 프로젝트 생성: DXP본부 이정아 차장(hannah@i-on.net)

Gitlab 프로젝트 멤버추가

Backend: http://dcsf-dev08.i-on.net/dxp/backendcore.git

BackOffice: http://dcsf-dev08.i-on.net/dxp/frontbuilder.git

FrontOffice: http://dcsf-dev08.i-on.net/dxp/basecamp.git


Git Install

From Homebrew

write on terminal: brew install git

From official website

https://git-scm.com/download/mac

check version

git --version


Springboot install

From homebrew

Cleanup and upgrade before set up

brew upgrade

brew cleanup

install STS4

brew cask install springtoolsuite

From official website

Go to website: https://spring.io/tools

download: MacOs version for eclipse

Configure JVM version: SpringToolSuite4.ini

open using editor(ex. vscode)

/Applications/SpringToolSuite4.app/Contents/Eclipse/SpringToolSuite4.ini

Java11 version error

When face the error message like failed to create the java virtual machine to run STS4

if use java version 11,

  1. install java 8

2. please attach this code which is java8 path on the top inside SpringToolSuite4.ini

-vm /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin

Heap memory config

please edit max Heap memory as a -Xmx2048m on SpringToolSuite4.ini

Example SpringToolSuite4.ini

-vm 
/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin
-startup
../Eclipse/plugins/org.eclipse.equinox.launcher_1.5.700.v20200207-2156.jar
--launcher.library
../Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.1100.v20190907-0426
-product
org.springframework.boot.ide.branding.sts4
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx2048m
-XX:+UseG1GC
-XX:+UseStringDeduplication
--add-modules=ALL-SYSTEM
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-Xdock:icon=../Resources/sts4.icns


Project Setting

Download for git repository

Set up workspace path

Click Open Perspective

Select git

click clone a git repository

url: http://dcsf-dev08.i-on.net/dxp/backendcore.git

Write User & Password

Click Next and tick develop

Import Project

Set Directory

The initial branch is develop

Import Project

Select Import Project and finish

Go to Java located in the middle on Right top sidebar.

Add window

  • Gradle Executions

  • Gradle Tasks

Right Click → configure → Add Gradle Nature

Click Refresh Gradle Project

When success to ready to use Gradle, like below

When failing to ready to use Gradle, like below

Server and Profile configuration

if success input all of the gradle dependencies, you can find backend-core on Boot Dashboard(Left side below)

click open config

Main type → Search

Select Backend

main type: net.ion.ice.BackendCoreApplication

profile: default-loc

click Apply

Check Java version JavaSE-11 in Project list

Click Run or Debug on Boot Dashboard to run BackendCore

When you see the error message, click proceed

Run Success!

Initial data load

# 로컬 서버 실행 후 Schema Load 리스트
- local.i-on.net:8080/helper/loadSchema?filePath=projects/{projectName}
- local.i-on.net:8080/helper/loadSchema?filePath={projectName}

  • No labels