Giter VIP home page Giter VIP logo

sync_gateway's Introduction

Build Status

Couchbase Sync Gateway

Join the chat at https://gitter.im/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

Build pre-requisites

To build Sync Gateway from source, you must have the following installed:

  • Go 1.5 or later with your $GOPATH set to a valid directory
  • GCC for CGO (required on Sync Gateway 1.2 or later)

Building From source (without dependency pinning)

Warning: while this is the easiest way to build sync gateway from source, there are known issues with this approach that cause certain tests to fail! To be able to run the full unit test suite and have it pass, skip down to the approach to build from source with dependency pinning.

go get -u -t github.com/couchbase/sync_gateway/...

After this operation completes you should have a new sync_gateway binary in $GOPATH/bin

Running Unit Tests

$ go test github.com/couchbase/sync_gateway/...

Running Benchmarks

go test github.com/couchbase/sync_gateway/... -bench='LoggingPerformance' -benchtime 1m -run XXX
go test github.com/couchbase/sync_gateway/... -bench='RestApiGetDocPerformance' -cpu 1,2,4 -benchtime 1m -run XXX

Building From Source (with dependency pinning)

Running the scripts below will clone this repository and all of it's dependencies (pinned to specific versions as specified in the manifest)

$ mkdir ~/sync_gateway
$ cd ~/sync_gateway
$ brew install repo
$ wget https://raw.githubusercontent.com/couchbase/sync_gateway/master/bootstrap.sh
$ chmod +x bootstrap.sh
$ ./bootstrap.sh

Build

$ ./build.sh

Running Unit Tests

$ ./test.sh

License

Apache 2 license.

Tutorials and Other Resources

sync_gateway's People

Contributors

snej avatar adamcfraser avatar tleyden avatar jchris avatar dustin avatar wacarter avatar zgramana avatar michaelkwok avatar devexter avatar pavel-paulau avatar vladoatanasov avatar mschoch avatar sideshowcoder avatar jamesnocentini avatar jnordberg avatar paulcapestany avatar pegli avatar sethrosetter avatar gitter-badger avatar vfleurima avatar ericlimare avatar rajasaur avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.