Ruby On Rails Classroom image

Neha  Jaggi / Professional / Web Technology

To post your Question Join Classroom
Lesson Topics's No:-  ||
Lessons:- Deploying the Demo App

  Deploying the Demo App

With the completion of the Microposts resource, now is a good time to push the repository up to GitHub:

$  git add .
$  git commit -m   "Finish demo app"
$  git push


Ordinarily, you should make smaller, more frequent commits, but for the purposes of this chapter a single big commit at the end is fine. 

At this point, you can also deploy the demo app to Heroku as in Section 1.4:

$  heroku create --stack cedar
$  git push heroku master


Finally, migrate the production database (see below if you get a deprecation warning): 

$  heroku run rake db:migrate


This updates the database at Heroku with the necessary user/micropost data model. You may get a deprecation warning regarding assets in vendor/plugins, which you should ignore since there aren’t any plugins in that directory.

Neha  Jaggi

Skills    Ruby On Rails

Qualifications :- High School - , College/University - Graphic Era Hill University, Dehradun, College/University - ,
Location :-Dehradun,Dehradun,UTTARAKHAND,India

Experienced Software Developer with a demonstrated history of working in the Information Technology and services industry. Skilled in Web Technologies (Ruby on Rails, PostgreSQL, php, Laravel and AJAX). 


  Students (0)