instructure/canvas-lms — pull request #268 by padwasabimasala (2013-02-01 18:38:52+00:00)
Title: Remove username from test and dev db envs

The docs quoted below do not "just work" on OSX.

Database configuration
Now we need to set up your database configuration...

~/canvas$ cp config/database.yml.example config/database.yml
~/canvas$ createdb canvas_development
~/canvas$ createdb canvas_queue_development

The reason being the config/database.yml specifies the db username as "canvas" and there is not any instructions to the create this user.

The simple solution is to remove the username from the db yml for test and dev. This works on OSX but may not in other environments. Alternatively it may be better to just update the docs with instructions to create the user.