setting up pg dev and test environment