PSQL connection on localhost, and created postactivate and predactivate hooks for virtualenv