Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does not save document #98

Open
trinicoder opened this issue Oct 4, 2018 · 1 comment
Open

does not save document #98

trinicoder opened this issue Oct 4, 2018 · 1 comment

Comments

@trinicoder
Copy link

trinicoder commented Oct 4, 2018

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';

@trinicoder trinicoder changed the title does not save docuement does not save document Oct 4, 2018
@luisdotcom
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants