Building the Sample Environment on UNIX or Linux - Synergex/SqlReplication GitHub Wiki

Obtaining the Source Code from GitHub

  • Ensure that you have the git client tools installed (type "git version" and make sure the git version number is displayed). If not then you'll need to install git using your operating system package manager (e.g. sudo apt-get install git).

  • Move to a folder where you would like the SQL Replication environment to be downloaded (a new sub-folder will be created to contain the environment).

  • Clone the git repository: git clone https://github.com/Synergex/SqlReplication.git

  • A new sub-folder named SqlReplication should have been created. Move into that folder, and then into the linux folder.

  • Convert the line endings of all files to UNIX format

    dos2unix *

  • Make all the script files executable

    chmod +x *

  • Build the code

    build