JHipster offers support to deploy on Heroku, which is impressive … so simple!
- A Heroku account (a free plan exists)
- Heroku CLI (= Heroku Toolbelt)
- Build the application in prod profile:
mvnw -Pprod package with Maven
gradlew -Pprod bootWar with Gradle
- Log in to the Heroku CLI:
- And finally, launch:
Wait during the application upload (which can be a bit slow with a basic connection)
Done! the application is visible from all over the world, we can visit it by launching:
Impressive, isn’t it?