SlideShare a Scribd company logo
Deploying App on Heroku
AJIT N K
What is Heroku
 Heroku is a Platform-as-a-Service (PaaS) from Salesforce.com Company
 Heroku runs on AWS instance
 Hosted in the US-East & EU-West regions
Build App on local machine
 Create an Heroku Accouthttps://id.heroku.com/login
 Download & Install Heroku ToolBelt (Command line interface)
https://toolbelt.heroku.com/
 Go to Command Prompt
1. Execute “heroku login”
2. Create clones/copies simple project skeleton project in your local machine
 Execute “git clone https://github.com/heroku/java-getting-started.git”
Deploy App on Heroku
 Create git remote “heroku”
 Execute “heroku create <yourappname>”
 Import Project & Modify code locally in your IDE
 Push Code to GitHub & Deploy on Heroku
 Execute “git push heroku master”
 Open URL of the app in your browser
 http://<yourappname>.herokuapp.com/

More Related Content

Deploying Apps Heroku

  • 1. Deploying App on Heroku AJIT N K
  • 2. What is Heroku  Heroku is a Platform-as-a-Service (PaaS) from Salesforce.com Company  Heroku runs on AWS instance  Hosted in the US-East & EU-West regions
  • 3. Build App on local machine  Create an Heroku Accouthttps://id.heroku.com/login  Download & Install Heroku ToolBelt (Command line interface) https://toolbelt.heroku.com/  Go to Command Prompt 1. Execute “heroku login” 2. Create clones/copies simple project skeleton project in your local machine  Execute “git clone https://github.com/heroku/java-getting-started.git”
  • 4. Deploy App on Heroku  Create git remote “heroku”  Execute “heroku create <yourappname>”  Import Project & Modify code locally in your IDE  Push Code to GitHub & Deploy on Heroku  Execute “git push heroku master”  Open URL of the app in your browser  http://<yourappname>.herokuapp.com/