update .gitignore
configure postgresql in dev and testing