TerraLib and TerraView Wiki Page

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
wiki:documentation:devguide:cloning [2018/09/05 13:50]
marisa [On Linux Systems]
wiki:documentation:devguide:cloning [2024/12/04 09:01] (current)
castejon
Line 1: Line 1:
-====== ​Cloning ​TerraLib/​TerraView ​Repository ​====== +====== TerraLib/​TerraView ​Download ​======
-Please, download and install Git from [[https://​git-scm.com/​downloads|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 document [[http://​www.dpi.inpe.br/​terralib5/​wiki/​doku.php?​id=wiki:​documentation:​devguide:​gitlab|Using GitLab]]. +
- +
-===== On Microsoft Windows using TortoiseGit or Git Bash ===== +
- +
-**1. **Make a new folder to host TerraLib source code: +
-<code bash> +
-$ mkdir C:/​terralib/​codebase +
-$cd terralib/​codebase +
-</​code>​ +
- +
-**2.** Make a local copy of TerraLib repository:​ +
-<code bash> +
-$ GIT_SSL_NO_VERIFY=true git clone https://​gitlab.dpi.inpe.br/​terralib/​terralib.git . +
-</​code>​ +
- +
-**Note:** You can also set local configurations for GIT in order to disable the use of SSL certificates:​ +
-<code bash> +
-$ git config http.sslVerify false +
-</​code>​ +
- +
-**3.** After cloning, select the right [[:​wiki:​documentation:​devguide:​branches_and_tags|branch or tag]] to work on (develop, release-5.1,​ release-5.2,​...,​ release-5.x) +
- +
- +
-===== On Linux Systems ===== +
- +
-**1. **Open the shell command line. +
- +
-**2.** Make a new folder to host TerraLib source code: +
-<code bash> +
-$ mkdir -p /​home/​user/​mydevel/​terralib/​codebase +
-</​code>​ +
- +
-**3.** Change the current directory to the new folder: +
-<code bash> +
-$ cd /​home/​user/​mydevel/​terralib/​codebase +
-</​code>​ +
- +
-**4.** Make a local copy of TerraLib repository:​ +
-<code bash> +
-$ GIT_SSL_NO_VERIFY=true git clone https://​gitlab.dpi.inpe.br/​terralib/​terralib.git . +
-</​code>​ +
- +
-**Note:** You can also set local configurations for GIT in order to disable the use of SSL certificates:​ +
-<code bash> +
-$ git config http.sslVerify false +
-</​code>​ +
- +
-**5.** After cloning, select the right [[:​wiki:​documentation:​devguide:​branches_and_tags|branch or tag]] to work on (develop, release-5.y) +
- +
-===== On Mac OS X ===== +
- +
-**1. **Open the shell command line. +
- +
-**2.** Make a new folder to host TerraLib source code: +
-<code bash> +
-$ mkdir -p /​Users/​user/​mydevel/​terralib/​codebase +
-</​code>​ +
- +
-**3.** Change the current directory to the new folder: +
-<code bash> +
-$ cd /​Users/​user/​mydevel/​terralib/​codebase +
-</​code>​ +
- +
-**4.** Make a local copy of TerraLib repository:​ +
-<code bash> +
-$ GIT_SSL_NO_VERIFY=true git clone https://​gitlab.dpi.inpe.br/​terralib/​terralib.git . +
-</​code>​ +
- +
-**Note:** You can also set local configurations for GIT in order to disable the use of SSL certificates:​ +
-<code bash> +
-$ git config http.sslVerify false +
-</​code>​ +
- +
-**5.** After cloning, select the right [[:​wiki:​documentation:​devguide:​branches_and_tags|branch or tag]] to work on (develop, release-5.x,​ 5.0.x, 5.1.x) +
- +
-===== Getting the source code from compressed files =====+
  
 To get a compressed file with the source code go to the [[wiki:​downloads|download page]]. To get a compressed file with the source code go to the [[wiki:​downloads|download page]].