* Correct installation documentation * Add stylized titles * Add some changes to the getting started documentation * Add changes for the backend guide * Add changes for the design guide * Add testing / Q&A guide improvements * Minor fixes to contributing docs * More improvements to the general doc * Improvements for frontend guide
21 lines
404 B
Markdown
21 lines
404 B
Markdown
---
|
|
title: Preparing the Database
|
|
---
|
|
|
|
# Preparing the database
|
|
|
|
We need to create our database, load the database schema, and load seed
|
|
data. This can be accomplished with:
|
|
|
|
```shell
|
|
rails db:setup
|
|
```
|
|
|
|
`db:setup` actually runs the following rake commands in order so
|
|
you could alternatively run each of these to produce the same result.
|
|
|
|
```shell
|
|
rails db:create
|
|
rails db:schema:load
|
|
rails db:seed
|
|
```
|