Changed settings to point to pogresql instance

Added pgdevel to yum packages

Updated settings for postgresql

Removed use local pip cache

Added subdomains to settings