Nice work! In three commands, you built a working Rails app that displays the Rails default page. How does it work?
rails newcommand created a new Rails app named MySite. It generated a number of files and folders that we will use to build the app. In the Code Editor, click on the folder icon to see these files and folders. We'll see what these files and folders are for in the next exercises. The
rails newcommand is the starting point of every Rails project.
bundle installcommand installed all the software packages needed by the new Rails app. These software packages are called gems and they are listed in the file Gemfile.
rails servercommand started the Rails development server so that we could preview the app in the browser by visiting
http://localhost:8000. This development server is called WEBrick.
The new Rails app contains a number of files and folders. Click Next to find out how they work together.