Create the database bm on your postgresql instance.
bundle install
Configure your config/database.yml
.
bundle exec ruby db/setup.rb
You can specify the amount of lines you want, default is 1 million.
LINES=10_000 bundle exec ruby db/seed.rb
bundle exec ruby bm/bm.rb