Ruby On Rails Classroom image

Neeraj  Amoli / 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
Neeraj  Amoli

Skills    Ruby On Rails

Qualifications :-
Location :-Dehradun,Dehradun,Uttrakhand,India
Description:-

I have 3 year experience as a Software Engineer. My Skilled are Android Development (Java), ROR Development .   


Explore
 

  Students (0)