DonkeyOatie / sync_gateway

Connects Couchbase Lite to Couchbase Server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Join the chat at https://gitter.im/couchbase/discuss Go Report Card codebeat badge License

Sync Gateway

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

Resources

Official product home page

Documentation

Downloads

Issue Tracker

Mailing List

Discussion Forum

Build pre-requisites

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

Download and build

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/couchbase/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.

License

Apache 2 license.

About

Connects Couchbase Lite to Couchbase Server

License:Apache License 2.0


Languages

Language:Go 94.2%Language:Shell 3.0%Language:Objective-C 1.2%Language:Ruby 0.8%Language:Python 0.4%Language:Smarty 0.2%Language:Makefile 0.1%Language:Batchfile 0.0%