miércoles, diciembre 14, 2011

monogDB support for etherpad-lite

I wrote the following code so that etherpad-lite supports MongoDB. Is a support package for ueberDB project.

3 comentarios:

Totti Anh Nguyen dijo...

I tried using your UeberDB plugin support for MongoDB but it doesn't work w Etherpad-Lite.

Where do you put the settings ?
exports["mongodb"] = {dbname : "", host : "", port : 10002 , user : "", password : "", collectionName: ""};

Thanks,

Totti

Ranu dijo...

Totti: in the seetings.json file put:
"dbType" : "mongodb",
"dbSettings" : {
"dbname" : "",
"host" : "",
"port": 10002,
"user": "",
"password": "",
"collectionName": ""
},

Totti Anh Nguyen dijo...

Thanks Ranu. It works great.
The config I used was:

"dbType" : "mongodb",
"dbSettings" : {
"dbname" : "myDBName",
"host" : "",
"port": 27017,
"user": "",
"password": "",
"collectionName": "myCollection"
},