Let's get started! By the end of this step, we'll have a brand-spankin'-new (empty) rails app.
Open up a terminal window and try out the following.
$ mkdir railsbridge $ cd railsbridge $ rails new suggestotron $ cd suggestotron $ ls
If you have any problems, contact a TA immediately.
You can see that
rails new created a lot directors and
files. The ones we want to focus on today are:
|app/||Contains the controllers, models, and views for your application. You will do most of your work here.|
|config/||Configure your application’s runtime rules, routes, database, and more.|
|db/||Shows your current database schema, as well as the database migrations.|
There is a lot more that
rails new created. Probably enough to fill
a book, so we're going to ignore them for now.