我从http://www.couchbase.com/nosql-databases/downloads为 windows 安装了 sync_gateway 。我正在尝试执行命令sync_gateway config.json
,但它给了我一个错误。如何执行 config.json 与安卓设备同步数据。
我的 config.json 包含
{
"interface":":4984",
"adminInterface":":4985",
"log":["REST"],
"databases":{
"sync_gateway":{
"server":"http://localhost:8091",
"bucket":"sync_gateway",
"sync":`function(doc) {channel(doc.channels);}`
}
}
}