Deploy a JHipster application on Heroku

JHipster offers support to deploy on Heroku, which is impressive … so simple!

A Heroku account (a free plan exists)
Heroku CLI (= Heroku Toolbelt)
  1. Build the application in prod profile:
    mvnw -Pprod package with Maven
    gradlew -Pprod bootWar with Gradle
  2. Log in to the Heroku CLI:
    heroku login
  3. 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?

Leave a Comment