Overview
Components
This is the high level architecture of the system that we will be running 
It includes the following components - - *Client Side * - Travel Mobile App : This is a .Net app (UWP + Xamarin for iOS and Android) that is linked with Couchbase Lite Enterprise 2.1 - *Server Side * - Couchbase Server Enterprise v5.5 - Sync Gateway Enterprise v2.1 - Travel Web App - Python web app integrated with Couchbase Python SDK
For the server side components, you have three installation options
NOTE : Make sure you use the same installation option for all server components. i.e. if you selected Docker (Local), then you must use docker for all of them and so on.
-
Manual: Here, you would download and install the components on your local machine.
-
Docker (Local): In this case, you would install all the server components in separate docker containers on your local machine.
Pre-requisites
To start, it is easiest if you run all the components on the same machine. It’s not required to run your development environment this way but it is more convenient to start a development environment with components running locally.
Windows Users : - If you are developing on Windows, you must use a Windows 10 machine. Also, note that if you choose Manual or docker installation mode, you should also have administrative privileges on the Windows box so you can authorize the installation and running of the required executables.
Visual Studio 2017
-
Downloadable from visualstudio.com. Preferable to be in VS v15.6
-
Notes
-
Couchbase Lite .Net is on .NETStandard 2.0 (which should be supported by .NET Framework 4.6.1). But you may run into compatibility issue on Visual Studio V15.2. Upgrading to v15.6 should resolve this.
-
Xamarin Android version 11.8.0.20 has a known bug with code signing of libraries which will result in a failure when you run the app . So make sure your are on Xamarin Android version 11.8.1 or 11.10 and greater.
Visual C++ 2017 (Only Windows Users)
-
Windows Users must install Microsoft Visual C++ Compiler for Python Downloadable from downloads
Python (v2.7 and above)
You need this only if you use the Manual installation option - Downloadable from python.org - Windows Users : If you are developing on Windows, make sure that Python is included in your system’s PATH environment variable. You can follow instructions here to update your PATH variable to include the path to the Python install. The default installation path would be c:27 for Python 2.7.
Docker
You need this only if you use the Docker installation option. - Windows Users : If you are developing on Windows, you may need to install Docker as Admin user - Downloadable from docker.com. Community edition would suffice.
git
-
Create a free github account if you don’t already have one
-
Git is downloadable from git-scm.org
Try it out
-
Open Visual Studio and make confirm it launches
-
Verify python installation (Applicable only if you decided to use Manual install option)
-
Run the following command from your terminal command line
bash python --versionYou should see the version of python displayed -
Verify docker installation (Applicable only if you decided to use Docker install option)
-
Run the following command from your terminal command line
bash docker -vYou should see the version of docker displayed -
Verify git installation
-
Run the following command from your terminal command line
bash git --versionYou should see the version of git installed