Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Dogcument/gssg-be

Repository files navigation

글쑤시개 Back-End

1. 환경

codecov total lines

2. Local 실행 방법

# 1. jar 생성
> ./gradlew bootjar
BUILD SUCCESSFUL in 9s

> ls build/libs
gssg-be-0.0.1-SNAPSHOT.jar

# 2. local profile 로 jar 실행
## linux
> java -jar -Dspring.profiles.active=local build/libs/gssg-be-0.0.1-SNAPSHOT.jar
## windows
> java -jar "-Dspring.profiles.active=local" .\build/libs/gssg-be-0.0.1-SNAPSHOT.jar

2021-06-06 22:27:24.611  INFO 17114 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8080 (http) with context path ''
2021-06-06 22:27:24.777  INFO 17114 --- [           main] com.gssg.gssgbe.GssgBeApplication        : Started GssgBeApplication in 4.857 seconds (JVM running for 5.4)

# 3. http://localhost:8080/swagger-ui.html
  • prod 로 실행하려면 mysql 세팅이 필요합니다.