def load_environment(env_path):
    """
    Loads database credentials (and other environs) from .env
    """
    environs = {}
    with open(env_path) as env:
        for line in env:
            if line.startswith('#'):
                continue
            key, value = line.strip().split('=', 1)
            # os.environ[key] = value # Load to local environ
            environs[key] = value
    return environs