postgres setup to deploy