mizzao / meteor-sharejs

Meteor smart package for transparently adding ShareJS editors to an app
MIT License
225 stars 53 forks source link

does not save document #98

Open trinicoder opened 6 years ago

trinicoder commented 6 years ago

ShareJS: using unsupported db type none, falling back to in-memory. I am getting text area to edit the text but I realized its not saving the changes to the ops db .In mongodb I do not see the ops collection. I am using : import { ShareJS } from 'meteor/edemaine:sharejs';

luisdotcom commented 4 years ago

Just create a settings.json file in your project ant put this on it:

{ "sharejs": { "options": { "db": { "type": "mongo", "opsCollectionPerDoc": true }}} }

then run your app like: meteor --settings settings.json