Learning Rails Pt. 1

Mar 14, 2023

Go ahead and create a new Rails application using the following command.

rails new hello-world

This will create a Rails application in the hello-world folder.

Go inside the hello-world folder.

cd hello-world

Run the created Rails application using the following command.

rails server

This command boots up the server at http://localhost:3000. Open this in the web browser and you should see the Rails default welcome page. If that is the case, you just have created your very first web application using the Rails framework.

Tags: rails