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 aren’t sure what you want, take the defaults, and it’ll 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’ll 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’re not inside an existing application directory, and type this:
| work> rails new depot |
We see ...
Get Agile Web Development with Rails 5, 1st Edition 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.