Setup Couchbase Server and Sync Gateway on Ubuntu
To start using Couchbase solution as data store for your mobile application you need to setup up couple of things. This stack is named Couchbase Mobile and consist of three components: Couchbase Lite (Embedded NoSQL database) Couchbase Sync Gateway (Server component to synchronize data between the device and server) Couchbase Server (NoSQL database server) Download the above components from here. Going forward we are going to setup the two server components from the above list on Ubuntu machine (Ubuntu 14.04 at the time of writing). For the sake of writing, I have used droplet from Digital Ocean. But it is not restricted to any hosting provider. You can spin up a Ubuntu machine on Amazon Web Service, Microsoft Azure or any other hosting provider of your choice. AWS also provides a ready made package for the same in AWS marketplace you can use. Once you have a Ubuntu machine » Read more