Heroku Push the Code

  


Heroku Push the Code 


STEP 0

 git remote

STEP 1

 heroku login

STEP 2

  git remote -v

 STEP 3

   heroku website will automatically open and make login at that

  STEP 4

  make a repository at heroku website 

  STEP 4

  copy the heroku link from the heroku website 

  STEP 5

  run the command at the terminal 

       heroku git:remote -a ecom-chef-app


[{{in the underlined section only app name write not the source url}}]]

       ecom-chef-app  ====   app name    

  STEP 6

         heroku run rake db:migrate

  STEP 7

        heroku run rake db:seed


STEP 8

Also make the Commit and add

first time git add. always

git commit -m''add"

git push heroku master



                                                     Important Points to Remember 


heroku restart

heroku login






Comments

Popular posts from this blog

Rails 7 Features :: Comparison with Rails 6 and Rails 5