For you app to work locally you need to:
- Install Postgresql on your machine
- Create a database for your development needs (let’s call it
my_app_development) -
Change your
database.ymlto:default: &default adapter: postgresql encoding: unicode # For details on connection pooling, see rails configuration guide # http://guides.rubyonrails.org/configuring.html#database-pooling pool: 5 development: <<: *default database: my_app_development -
run
rake db:migrate