Tanganelli / CoAPthon

CoAPthon is a python library to the CoAP protocol aligned with the RFC
MIT License
221 stars 130 forks source link

resourcedirectory_test.py #172

Open devopam opened 2 years ago

devopam commented 2 years ago

Need to create the test db and user on mongo. Update Install instructions under ResourceDirectory section in readme.md:

use rd db.createUser( {user: "RD",pwd: "res-dir",roles: [ { role: "readWrite", db: "rd" } ] } ) db.resources.createIndex( { "ep": 1, "d": 1 }, { unique: true } )