JHipster offers support to deploy on Heroku, which is impressive … so simple!
- Prerequisites:
- 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:
heroku login - And finally, launch:
yo jhipster:heroku
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:
heroku open
Impressive, isn’t it?