Greetings !
Today i completed watching the screencast which covers Chapter 2 Ruby on Rails Tutorial by Michael Hartl
Our ( team) goal is to watch a screencast per day covering each chapter as instructed by our mentor
This video tutorial ( Chapter 2) lasts for 1 hour and 10 minutes
From the screencast i learnt the concepts such as
a. Scaffolding
b. RESTful Web Services
c. Model-View-Controller in action
d. Relationship among tables
e. Simple validations
I found its a very nice tutorial
I understood the fundamentals behind a rails application
My sincere thanks to the author, Michael Hartl for creating it and our mentor Chandrashekar sir for providing the resource to us
Then i switched back to Chapter 1 screencast to get to know the branch and merge concepts in Git
Also, i learnt how to deploy a rails application using Heroku
Here are my sharings,
Creating a Heroku account
First of all, it is necessary to create a account in Heroku
Click here to sign up
Install Heroku gem
gem install heroku
Adding keys to heroku
We need to add ssh public key to heroku
To do it, type the command
heroku keys:add
It will ask to login to heroku account
Creating a new application
heroku create
This will create a subdomain for the application
Deploying the application
git push heroku master
Opening the application
heroku open
It will open the application in the browser with the address generated by it
http://strong-planet-817.heroku.com/ – this is the url generated by heroku for deploying my first rails application
By 3:50 p.m. we gathered for SCRUM meet
I told as i watched the screencast and played wth git and heroku 🙂