Skip to content

mikemliu/sync_gateway

 
 

Repository files navigation

Couchbase Sync Gateway

Gluing Couchbase Lite to Couchbase Server

The Sync Gateway manages HTTP-based data access for mobile clients. It handles access control and data routing, so that a single large Couchbase Server cluster can manage data for multiple users and complex applications.

Product home page

Documentation

Downloads

Building From Source

To build Sync Gateway from source, you must have Go 1.2 or later installed on your computer.

On Mac or Unix systems, you can build Sync Gateway from source as follows:

Open a terminal window and change to the directory that you want to store Sync Gateway in.

Clone the Sync Gateway GitHub repository:

$ git clone https://github.com/couchbase/sync_gateway.git

Change to the sync_gateway directory:

$ cd sync_gateway

Set up the submodules:

$ git submodule init
$ git submodule update

Build Sync Gateway:

$ ./build.sh

Sync Gateway is a standalone, native executable located in the ./bin directory. You can run the executable from the build location or move it anywhere you want.

To update your build later, pull the latest updates from GitHub, update the submodules, and run ./build.sh again.

License

Apache 2 license.

Tutorials and Other Resources

There is a broad overview of mobile and Couchbase Lite here, with pointers to most of the docs

If you're having trouble, feel free to ask for help on the mailing list. If you're pretty sure you've found a bug, please file a bug report.

About

Connects Couchbase Lite to Couchbase Server

Resources

License

Stars

Watchers

Forks

Packages

No packages published