February 2018
Intermediate to advanced
406 pages
9h 52m
English
First off, you’ll need a Rails application. You’ll be using Rails 5.2.0 and Ruby 2.5.0. Let’s start by generating the Rails application from the command line:
| | % gem install rails |
| | % mkdir gatherer |
| | % cd gatherer |
| | % rails new . |
This will create the initial directory structure and code for a Rails application. It will also run bundle install to load initial gems. You’re going to mostly stick with the initial gem set for the moment. I assume that you’re already familiar with Rails core concepts; I won’t spend a lot of time reexplaining them. If you’re not familiar with Rails, Agile Web Development with Rails [Rub13] is still the gold standard for getting started.
You need to create your databases. For ease of setup and distribution, ...