Set up app to use postgresql in production