Ruby On Rails Classroom image

prateek  darmwal / 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.

 
 
 
image
prateek  darmwal

Skills    Ruby On Rails

Qualifications :- High School - S.K.M. Sn. Sec. School, Haldwani, College/University - Graphic Era Hill University, Bhimtal,
Location :-Dehradun,Dehradun,Uttarakhand,India
Description:- I like to explore new technologies. I have skills in ruby on rails, php5, cakephp, jquery, javascript, html/css, java, c & c++. I love coding
Explore
 

  Students (0)