update database.yml to use postgresql
run rake db:create and rake db:migrate