Iteration A1: Creating the Product Maintenance Application

At the heart of the Depot application is a database. Getting this installed and configured and tested before proceeding will prevent a lot of headaches. If you are not certain about what you want, take the defaults, and it will go easily. If you know what you want, Rails makes it easy for you to describe your configuration.

Creating a Rails Application

In Creating a New Application, you saw how to create a new Rails application. We will do the same thing here. Go to a command prompt and type rails new followed by the name of our project. Here, our project is called depot, so make sure you are not inside an existing application directory, and type this:

 work>​​ ​​rails​​ ​​new​​ ...

Get Agile Web Development with Rails 6 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.