Merge pull request #5243 from pmatsinopoulos/patch-2
More accurate steps for preparing the database
This commit is contained in:
commit
88ef531202
|
@ -257,10 +257,13 @@ bundle install
|
|||
|
||||
### Prepare your database
|
||||
```sh
|
||||
rake db:create
|
||||
rake db:migrate
|
||||
rake db:test:prepare
|
||||
rake db:seed_fu
|
||||
# run this if there was a pre-existing database
|
||||
bundle exec rake db:drop
|
||||
RAILS_ENV=test bundle exec rake db:drop
|
||||
|
||||
# time to create the database and run migrations
|
||||
bundle exec rake db:create db:migrate
|
||||
RAILS_ENV=test bundle exec rake db:create db:migrate
|
||||
```
|
||||
|
||||
## Now, test it out!
|
||||
|
|
Loading…
Reference in New Issue