User Tools

Site Tools


software:cram:setup

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
software:cram:setup [2013/03/15 12:58] – Unnecessary pipe removed winklersoftware:cram:setup [2016/05/19 09:19] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ===== Download and Installation of the CRAM system ===== ===== Download and Installation of the CRAM system =====
-To check out a specific (tagged) version of the CRAM system, you can use this script to automatically clone the source code from the GitHub repositories and check out the correct version tag: +To check out a specific (tagged) version of the CRAM system, you can use this script to automatically clone the source code from the GitHub repositories and check out the correct version tag. This file should be downloaded into the directory where your cram packages are stored
-<code bash Download Script for CRAM Versions>+<code bash cram_tag_co.sh>
 #!/bin/bash                                                                                                                                                                                                      #!/bin/bash                                                                                                                                                                                                     
  
Line 35: Line 35:
 done done
 </code> </code>
-To download the code and check out version **v0.1**, do this (assuming the script is in the file //cram_tag_co.sh//):+ 
 +=== Checking out the current Version === 
 +To download the latest version (assuming the script is in the file //cram_tag_co.sh//), do first give execution rights to the script and then run it: 
 +<code> 
 +$ chmod +x cram_tag_co.sh 
 +$ ./cram_tag_co.sh 
 +</code> 
 +The latest version might include changes that are not yet part of the full-fledged tagged version. Be sure to always check out the current code when there is no pressing reason to download a specific tagged version.  
 + 
 +=== Checking out specific Versions === 
 +To download the code and check out version **v0.1.1**, do this (assuming the script is in the file //cram_tag_co.sh//):
 <code> <code>
 $ chmod +x cram_tag_co.sh $ chmod +x cram_tag_co.sh
-$ ./cram_tag_co.sh v0.1+$ ./cram_tag_co.sh v0.1.1
 </code> </code>
 You can then find the downloaded and checked out files in their respective subdirectories. In case the repositories were downloaded already, only differing changes are downloaded from GitHub. The version tag is then checked out on each repository. You can then find the downloaded and checked out files in their respective subdirectories. In case the repositories were downloaded already, only differing changes are downloaded from GitHub. The version tag is then checked out on each repository.
software/cram/setup.1363352318.txt.gz · Last modified: 2016/05/19 09:18 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki