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/11/14 16:37] marisa [On Microsoft Windows using TortoiseGit or Git Bash] |
wiki:documentation:devguide:cloning [2018/09/05 13:50] (current) marisa [On Linux Systems] |
||
---|---|---|---|
Line 5: | Line 5: | ||
**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]]. | **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 Linux Systems ===== | ||
- | **1. **Open the shell command line. | + | ===== On Microsoft Windows using TortoiseGit or Git Bash ===== |
- | **2.** Make a new folder to host TerraLib source code: | + | **1. **Make a new folder to host TerraLib source code: |
<code bash> | <code bash> | ||
- | $ mkdir -p /home/user/mydevel/terralib/codebase | + | $ mkdir C:/terralib/codebase |
+ | $cd terralib/codebase | ||
</code> | </code> | ||
- | **3.** Change the current directory to the new folder: | + | **2.** Make a local copy of TerraLib repository: |
- | <code bash> | + | |
- | $ cd /home/user/mydevel/terralib/codebase | + | |
- | </code> | + | |
- | + | ||
- | **4.** Make a local copy of TerraLib repository: | + | |
<code bash> | <code bash> | ||
$ GIT_SSL_NO_VERIFY=true git clone https://gitlab.dpi.inpe.br/terralib/terralib.git . | $ GIT_SSL_NO_VERIFY=true git clone https://gitlab.dpi.inpe.br/terralib/terralib.git . | ||
Line 29: | Line 24: | ||
</code> | </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) | + | **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 Mac OS X ===== | + | |
+ | ===== On Linux Systems ===== | ||
**1. **Open the shell command line. | **1. **Open the shell command line. | ||
Line 37: | Line 33: | ||
**2.** Make a new folder to host TerraLib source code: | **2.** Make a new folder to host TerraLib source code: | ||
<code bash> | <code bash> | ||
- | $ mkdir -p /Users/user/mydevel/terralib/codebase | + | $ mkdir -p /home/user/mydevel/terralib/codebase |
</code> | </code> | ||
**3.** Change the current directory to the new folder: | **3.** Change the current directory to the new folder: | ||
<code bash> | <code bash> | ||
- | $ cd /Users/user/mydevel/terralib/codebase | + | $ cd /home/user/mydevel/terralib/codebase |
</code> | </code> | ||
Line 55: | Line 51: | ||
</code> | </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) | + | **5.** After cloning, select the right [[:wiki:documentation:devguide:branches_and_tags|branch or tag]] to work on (develop, release-5.y) |
- | ===== On Microsoft Windows using TortoiseGit or Git Bash ===== | + | ===== On Mac OS X ===== |
- | **1. **Make a new folder to host TerraLib source code: | + | **1. **Open the shell command line. |
+ | |||
+ | **2.** Make a new folder to host TerraLib source code: | ||
<code bash> | <code bash> | ||
- | $ mkdir C:/terralib/codebase | + | $ mkdir -p /Users/user/mydevel/terralib/codebase |
- | $cd terralib/codebase | + | |
</code> | </code> | ||
- | **2.** Make a local copy of TerraLib repository: | + | **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> | <code bash> | ||
$ GIT_SSL_NO_VERIFY=true git clone https://gitlab.dpi.inpe.br/terralib/terralib.git . | $ GIT_SSL_NO_VERIFY=true git clone https://gitlab.dpi.inpe.br/terralib/terralib.git . | ||
Line 75: | Line 77: | ||
</code> | </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) | + | **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 ===== | ===== Getting the source code from compressed files ===== | ||
- | ^Platform^File^ | + | To get a compressed file with the source code go to the [[wiki:downloads|download page]]. |
- | |Win64 |[[@../download/download.php?FileName=terralib-5.1.3.zip|terralib-5.1.5.zip]]| | + | |
- | |Win64 |[[@../download/download.php?FileName=terralib-5.1.3.zip|terralib-5.1.4.zip]]| | + | |
- | |Win64 |[[@../download/download.php?FileName=terralib-5.1.3.zip|terralib-5.1.3.zip]]| | + | |
- | |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]]| | + | |