#!/usr/bin/env python
# -*- coding: utf-8 -*-
__author__ = 'mr.S'


config = {
    'common' : {
        'siteTitle': "Chaty",
        'logoImage': "/images/logo.png"
    },
    'cookie': {
        'secret': 'SuperSecretText'
    },
    'db': {
        'type': 'postgres',
        'host': "ec2-54-83-5-151.compute-1.amazonaws.com",
        'db': 'd7qf7us2gskvj9',
        'port': 5432,
        'username': 'jhglzvqxvphlei',
        'password': 'FYXE0ZB8MConFZ7zmfVibigGzN',
    },
    'sn': {
        'vk': {
            'app_id': 4783971 ,
            'app_secret': 'EOlMVl0XFBOQPcH2RKsz'
        },
        'fb': {
            'app_id': '913186355380238' ,
            'app_secret': 'ab496243bcc6b35da1cf25b4a4494849'
        }
    }
}

#!/usr/bin/env python
# -*- coding: utf-8 -*-
__author__ = 'mr.S'


config = {
    'common' : {
        'siteTitle': "Chaty",
        'logoImage': "/images/logo.png"
    },
    'cookie': {
        'secret': 'SuperSecretText'
    },
    'db': {
        'type': 'postgres',
        'host': "localhost",
        'db': 'just_a_chat',
        'port': 5432,
        'username': 'postgres',
        'password': '',
    },
    'sn': {
        'vk': {
            'app_id': 4783971 ,
            'app_secret': 'EOlMVl0XFBOQPcH2RKsz'
        },
        'fb': {
            'app_id': '913186355380238' ,
            'app_secret': 'ab496243bcc6b35da1cf25b4a4494849'
        }
    }
}

Update config.py