Creating Your First Rails App

Let’s create your first Rails application:

1. Generate a new app:

rails new blog_app

This creates a folder with all required files and folders.

2. Move into the folder:

cd blog_app

3. Start the server:

rails server

Visit http://localhost:3000 to see your app running!

← PrevNext →