Commit 8803ccae authored by Marcia Ramos's avatar Marcia Ramos

Merge branch 'add-db-rake-dev-setup' into 'master'

Document dev database seed rake command

See merge request gitlab-org/gitlab!68600
parents 7ddb45bf 97aa9646
......@@ -25,6 +25,12 @@ If you just want to delete everything and start over with an empty DB (approxima
bundle exec rake db:reset RAILS_ENV=development
```
If you want to seed the empty DB with sample data (approximately 4 minutes):
```shell
bundle exec rake dev:setup
```
If you just want to delete everything and start over with sample data (approximately 4 minutes). This
also does `db:reset` and runs DB-specific migrations:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment