Setting up Ruby on Rails port and Openstreetmap Database


I am following the introductions on to setup my own openstreetmap environment on a local Ubuntu machine. But now I am stuck at the point where I have to copy database.yml to the appropriate location. Can someone tell me where to copy that file? I am using Postgres Database.