Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
wiki:documentation:devguide:cloning [2016/06/01 14:23] marisa |
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. | + | To get a compressed file with the source code go to the [[wiki:downloads|download page]]. |
| - | ===== 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://tester:terralibdpi@git.dpi.inpe.br/terralib5 . | + | |
| - | </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) | + | |
| - | + | ||
| - | ===== On Mac OS X ===== | + | |
| - | + | ||
| - | **1. **Open the shell command line. | + | |
| - | + | ||
| - | **2.** Make a new folder to host TerraLib source code: | + | |
| - | <code bash> | + | |
| - | $ mkdir -p /home/Users/user/mydevel/terralib/codebase | + | |
| - | </code> | + | |
| - | + | ||
| - | **3.** Change the current directory to the new folder: | + | |
| - | <code bash> | + | |
| - | $ cd /home/Users/user/mydevel/terralib/codebase | + | |
| - | </code> | + | |
| - | + | ||
| - | **4.** Make a local copy of TerraLib repository: | + | |
| - | <code bash> | + | |
| - | $ GIT_SSL_NO_VERIFY=true git clone https://tester:terralibdpi@git.dpi.inpe.br/terralib5 . | + | |
| - | </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) | + | |
| - | + | ||
| - | ===== On Microsoft Windows using TortoiseGit or Gist 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://tester:terralibdpi@git.dpi.inpe.br/terralib5 . | + | |
| - | </code> | + | |
| - | + | ||
| - | **3.** Change to the directory created by git clone command (terralib5): | + | |
| - | <code bash> | + | |
| - | $ cd terralib5 | + | |
| - | (C:/terralib/codebase/terralib5) | + | |
| - | </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> | + | |
| - | + | ||
| - | **4.** 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 ===== | + | |
| - | + | ||
| - | ^Platform^File^ | + | |
| - | |Win64 |[[@../download/download.php?FileName=terralib-5.1.2.zip|terralib-5.1.2.zip]]| | + | |
| - | |Win64 |[[@../download/download.php?FileName=terralib-5.1.2.zip|terralib-5.1.1.zip]]| | + | |
| - | |Win64 |[[@../download/download.php?FileName=terralib-5.1.0.zip|terralib-5.1.0.zip]]| | + | |
| - | |Linux/Mac|[[@../download/download.php?FileName=terralib-5.1.0.tar.gz|terralib-5.1.0.tar.gz]]| | + | |