Other Pages

Getting Started

Screenshot of a Ruby on Rails default home page

Goals

  • Get to know your New Application

  • We have a brand-spankin'-new (empty) Rails app, let's get to now it.

Steps

In replit.com, you can always find the files window on the left hand side it should show the directories of your app in a tree structure:

Screenshot of your files

You can see that the template created a lot directories and files. The ones we want to focus on today are:

File/Folder Purpose
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.
public/ The only folder shown to the world as-is. If you put files in here, they will be served directly on the web without any processing by Rails.

There is a lot more that in your Rails app. Probably enough to fill a book, so we're going to ignore them for now.

Next Step: