Ruby On Rails Classroom image

Anil  Bist / 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
Anil  Bist

Skills    Ruby On Rails

Qualifications :- High School - SLV, College/University - Graphic Era Deemed Univ University,
Location :-Dehradun,Dehradun,Uttarakhand,India
Description:-

I started my Professional Journey in 2006 with one of the Web Development Company in Bangalore and my 1st framework was "Ruby on Rail" as Web development and delivered around 5+ Projects using this platform. Then came another dimension as JEE/Sturst framework, Gradually I realized that I want to build something on my own and give my passion and energy on creating something different a
Explore

 

  Students (0)