Features
- Manages HTTP-based data access for Couchbase Lite mobile clients
- Leverages Couchbase Server as it's horizontally scalable backing data store
- Clustered into a horizontally scalable tier
- Provides access control and data routing
- Provides HTTP longpoll changes stream of all database mutations
To build Sync Gateway from source, you must have the following installed:
- Go 1.7.3 or later with your
$GOPATH
set to a valid directory - GCC
Install Go
See Installing Go
Install GCC
$ yum install gcc
Warning currently the go get
style of building is broken due to upstream library changes, please use the Extended Build Instructions
Download and build the code in a single step via go get
:
$ go get -u -t github.com/tophatch/sync_gateway/...
After this operation completes you should have a new sync_gateway
binary in $GOPATH/bin
NOTE: This build style is only suitable for development rather than deployment. There is a chance this might fail or have runtime errors due to using the latest version of all dependencies (whereas release builds use dependency pinning). Please file an issue if you run into problems.
See the Extended Build Instructions to build with dependency pinning via the repo
multi-repository tool.
Apache 2 license.