configured deployment for heroku and postgresql