Deploy app on heroku

Leave a Comment

Deploying your first app on heroku

Follow this steps to deploying your first app on heroku

Step 1

Creating account on heroku

step 1

Step 2

Confirm your account

step 2
After confirming your you will get screen to change your password

Step 3

Change you password

step 3


After that you will get welcome screen

step 4


Click on proceed you will get this screen

step 5


Step 4

Click on plus sign on right side of browser screen

step 6


After click on create app you will get this screen

step 7


Step 5

Download Heroku Toolbit & install heroku toolbit

step 8


step 9


Step 6

Go to your app which you have to deploy on heroku. Click mouse right side click you will get this menu. After click on git bash

step 10


step 11


Step 7

Create a new Git repository
Type some command to Initialize a git repository in a new or existing directory
$ git init
$ heroku login


login with your heroku credentials After that type

$ git remote -v
if your get any remote connection then remove that connection and add new remote connection

$ heroku git:remote -a name_of_your_app
you will get success message. After that again run $ git remote -v

step 12


Step 8

Deploy your application
After to all this step your app is setup. Now Commit your code to the repository and deploy it to Heroku using Git.
$ git add 
$ git commit -am "write your comment"
$ git push heroku master


step 13

Powered by Blogger.