Rails App for Dummies: Install Rails & Set Up Course App
1. RUBY ON RAILS APP
FOR DUMMIES
Designing a quick rip-off of the ‘courses’ app on stalkninja
Friday 27 April 2012
2. CHAPTER 1
INSTALLING RUBY ON RAILS
Friday 27 April 2012
3. INSTALLING RUBY ON RAILS
if (using linux) {
Jump to next slide for detailed instructions
}
else {
Visit http://rubyonrails.org/download
Follow instructions on the page for your OS
}
Friday 27 April 2012
4. ROR ON UBUNTU
•Follow tutorial at http://ryanbigg.com/2010/12/ubuntu-ruby-
rvm-rails-and-you/
•Do not install Ruby/Rails from ubuntu repository.
•Install RVM (Ruby Version Manager)
•Install core libraries for Ruby
•Install Ruby 1.9.3 using RVM
•Install Rails 3.2.3 using gem command
•Install a code editor - vim/emacs/gedit
Friday 27 April 2012
5. SETTING UP THE APP
•Check ruby & rails version => execute ‘ruby -v’, ‘rails -v’ on
the console
•Create a directory for rails app. Create a new rails app (below
commands are executed on the console)
•mkdir rails_project
•cd rails_project
•rails new stalkninja_course_app
•bundle install
• If it all goes well, you are now ready to design the app
Friday 27 April 2012
6. CHAPTER 2
DESIGNING THE APP
Friday 27 April 2012
7. CHAPTER 3
WHY & HOW TO DO TDD
Friday 27 April 2012