How to Deploy a ruby web apps on Heroku with git

10:40 AM

1: Download the Heroku CLI from Heroku website


2: Login to Heroku
          1: Give the Email
         2: Give the Password

3: Open the Project you created on locally
       For Example cd pets   (pets is your project name you’re created)

4: Initialize the git repository
     Git init

5: Add Local Data To git repository
    Git add.

6: commit the changes that done locally
  Git commit –m “My First Commit”

7: Create the Heroku app By Using Below command
    Heroku create ---------- (give the name of app you want to create on -------)

8: Finally Put Data or  Ruby Web App To Heroku Server On Master Branch
    Git Push Heroku Master

Note# config the Email And Name By Using Below Commands Firstly
      Git.config.name “Give Name”

      Git.config.Email  “Hafiz Aliahsan@gmail.com”





You Might Also Like

0 comments

Popular Posts

Like us on Facebook