-
Notifications
You must be signed in to change notification settings - Fork 47
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
Sync two (or more) hood.ie servers #547
Comments
I think that would be configuring continuous replication between the two DBs. Hoodie doesn't have this feature AFAIK, so you'll manually set this up. |
Thanks for your answer. |
You can try that but I haven't used it and don't know how that works from the store api. Hoodie is not a database, it's backed by CouchDB or some other database that implements the couchdb replication protocol. You are likely to connect it to a CouchDB instance you've setup or use Cloudant (hosted couchdb). Otherwise, I guess you're using the default config which I think sets you up with an in-memory data store. If you choose to set up a CouchDB instance or use Cloudant, this video can explain how to set up replication between servers |
You're absolutely right, I'm using the in-memory data store. I'll connect it to a CouchDB instance, try, and comeback here to report. |
Do I need to create the database myself or hoodie will do that at first start? |
you don't have to create the databases yourself. Just give hoodie config options so it knows how to connect to the DB. I guess you're missing some config that's why you're getting that error. check the documentation for details on config |
Thanks @pmbanugo. I'm digging. |
Is there any way to run two instances of hood.ie servers that keep in sync?
Hood.ie is based on couchdb which has a built-in sync feature. Is it used by hood.ie?
I see that there is a replicate function, how can I use it?
Thanks.
The text was updated successfully, but these errors were encountered: