From the course: Ruby on Rails 5 Essential Training

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Access a project

Access a project - Ruby on Rails Tutorial

From the course: Ruby on Rails 5 Essential Training

Start my 1-month free trial

Access a project

- [Instructor] Now that we've seen how to create a new Ruby on Rails project, and we configured it to use a database, now we can learn how we access a project in a browser. The first step to doing that is that we need to start up a web server. A web server is what's going to receive requests from a browser and pass them off to our Rails application. When we launch our code in production for the whole world to use, we're going to want to use a robust web server, something that can handle hundreds of requests at a time and has lots of features that we can use. But, for development we don't need all of that. We can use a very simple light-weight web server that's very fast, and that's what we're going to be using here. By default, Rails 5 is going to want us to use the Puma web server, so we don't need to do anything. That's already built-in; it's going to load up Puma for us. The way that we start the default web server, is that we navigate to the root of our Rails project, and then we…

Contents