TerraLib and TerraView Wiki Page

This is an old revision of the document!


Cloning TerraLib/TerraView Repository

Please, download and install Git from git, in order to have access to the TerraLib/TerraView repository.

Then, follow the steps below according to your platform.

Note: If you want to integrate code into the TerraLib Official Repository, please, see the Policy for using TerraLib GitLab.

On Linux Systems

1. Open the shell command line.

2. Make a new folder to host TerraLib source code:

$ mkdir -p /home/user/mydevel/terralib/codebase

3. Change the current directory to the new folder:

$ cd /home/user/mydevel/terralib/codebase

4. Make a local copy of TerraLib repository:

$ GIT_SSL_NO_VERIFY=true git clone https://gitlab.dpi.inpe.br/terralib/terralib.git .

Note: You can also set local configurations for GIT in order to disable the use of SSL certificates:

$ git config http.sslVerify false

5. After cloning, select the right branch or tag to work on (develop, release-5.x, 5.0.x, 5.1.x)

On Mac OS X

1. Open the shell command line.

2. Make a new folder to host TerraLib source code:

$ mkdir -p /Users/user/mydevel/terralib/codebase

3. Change the current directory to the new folder:

$ cd /Users/user/mydevel/terralib/codebase

4. Make a local copy of TerraLib repository:

$ GIT_SSL_NO_VERIFY=true git clone https://gitlab.dpi.inpe.br/terralib/terralib.git .

Note: You can also set local configurations for GIT in order to disable the use of SSL certificates:

$ git config http.sslVerify false

5. After cloning, select the right branch or tag to work on (develop, release-5.x, 5.0.x, 5.1.x)

On Microsoft Windows using TortoiseGit or Git Bash

1. Make a new folder to host TerraLib source code:

$ mkdir C:/terralib/codebase
$cd terralib/codebase

2. Make a local copy of TerraLib repository:

$ GIT_SSL_NO_VERIFY=true git clone https://gitlab.dpi.inpe.br/terralib/terralib.git .

Note: You can also set local configurations for GIT in order to disable the use of SSL certificates:

$ git config http.sslVerify false

3. After cloning, select the right branch or tag to work on (develop, release-5.x, 5.0.x, 5.1.x)

Getting the source code from compressed files