Copy database config file (and edit if needed):
cp config/database.yml.sample config/database.yml
Make sure the user you've listed in database.yml
is created for postgres:
createuser -s -r workshops
Setup database for your application (development and test environments):
bin/rake db:setup
bin/rake db:test:prepare