We need to choose a cloud provider. For this demo, let's choose Heroku.
Note
Though the Heroku account is free and you get free credits, you will have to provide your credit card information to use MySQL and other add-ons. You will only be charged if you exceed the free quota.
Let's deploy our application to Heroku by completing the following steps:
- First, you need to create an account in Heroku (https://signup.heroku.com/). It is free and you get free credits as well.
- Install the Heroku CLI tool by following https://devcenter.heroku.com/articles/heroku-cli.
- Verify that the Heroku CLI is installed fine by running
heroku --version
.
- Login to Heroku by running
heroku login
. When prompted, enter your Heroku email and password. - Now run the
jhipster heroku
command. You will start seeing questions. - Choose a name you like when asked
Name to deploy as: (store)
. By, default it will use the application name. Try to choose a unique name since the Heroku namespace is...