Ruby On Rails Classroom image

Pooja  Negi / Student / Web Technology

 
To post your Question Join Classroom
 
Lesson Topics's No:-  First|1 | 2 | 3 | 4|Last
Lessons:-Mostly Static Pages

With that, all we have left is to initialize the Git repository:3

$ git init
$ git add .
$ git commit -m "Initial commit"

 As with the first application, I suggest updating the README file (located in the root directory of the application) to be more helpful and descriptive, as shown in Listing 3.2.

 

Then change it to use the Markdown extension .md and commit the changes:

$ git mv README.rdoc README.md
$ git commit -a -m  "Improve the README"

 

Since we’ll be using this sample app throughout the rest of the book, it’s a good idea to make a repository at GitHub (Figure 3.1) and push it up: 

git remote add origin git@github.com:<username>/sample app.git
$  git push -u origin master

 

As a result of my performing this step, you can find the Rails Tutorial sample application code on GitHub (under a slightly different name).4
       Of course, we can optionally deploy the app to Heroku even at this early stage:

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

 

 
 
 
image
Pooja   Negi

Skills    Ruby On Rails

Qualifications :- High School - SSN high school, College/University - HNBGU, College/University - SRHU,
Location :-Ranipokhari,Rishikesh,Uttarakhand,India
Description:- Student
Explore
 

  Students (0)