docbrown/docs/getting-started/db.md
2019-10-03 16:38:28 -04:00

500 B

title
Preparing the Database

Preparing the database

The next step is to create and prepare the database. Thankfully, DEV is a Rails application, so this is relatively easy.

We can use Rails to create our database, load the schema, and add some seed data:

rails db:setup

db:setup actually runs the following rake commands in order so alternatively, you could run each of these to produce the same result:

rails db:create
rails db:schema:load
rails db:seed