I have spring source tool with Maven. And I have one Java project which I want to deploy on Heroku. Can anybody tell me steps to deploy on Heroku?
Many Thanks
I have spring source tool with Maven. And I have one Java project which I want to deploy on Heroku. Can anybody tell me steps to deploy on Heroku?
Many Thanks
heroku login
It will prompt to enter user name and password. Enter the credentials of your heroku account.heroku plugins:install heroku-cli-deploy
heroku deploy:war --war <path_to_war_file> --app <app_name>
--app
parameter can be omitted:
heroku deploy:war --war <path_to_war_file>
Your App will be successfully deployed to the heroku server.
It's all well explained here :
heroku plugins:install heroku-cli-deploy
heroku login
heroku apps:create <app_name>
heroku war:deploy <path_to_war_file> --app <app_name>
heroku open -a <app_name>
Reference: Heroku Deploy War/Jar