Skip to content

pine/profile

main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
app
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

My Profile  CircleCI codecov

Requirements

  • JDK 11 or later

Libraries

  • Spring Boot 2

Getting started

$ ./gradlew :app:bootRun

Deployment

Heroku CLI is required.

$ ./gradlew clean :app:bootJar

$ heroku apps:create your-app
$ heroku plugins:install java
$ heroku config:set SPRING_PROFILES_ACTIVE=prod
$ heroku config:set TZ=Asia/Tokyo
$ heroku config:set 'JAVA_OPTS=-Xmx200m -XX:+UseCompressedOops -XX:+UseStringDeduplication -XX:-OmitStackTraceInFastThrow -Dlog4j2.formatMsgNoLookups=true'
$ heroku deploy:jar --jar app/build/libs/app.jar --jdk 11 --app your-app

Development

JDK

For macOS users.

$ brew tap adoptopenjdk/openjdk
$ brew cask install adoptopenjdk11

$ java -version
openjdk version "11.0.2" 2019-01-15
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.2+9)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.2+9, mixed mode)

License

MIT © Pine Mizune

About

👤 My profile website

Topics

Resources

License

Stars

Watchers

Forks

Languages