1 2 3 4 5 6 7 8 9 10
config = { 'localport': 4345, # the port SnapDB runs on # MongoDB configuration comes below 'host': 'localhost', 'port': 27017, 'database': 'snapmesh', 'collection': 'snapmesh', 'username': 'snapmesh', 'password': 'yourpassword' }