Changes

From Genome Analysis Wiki
Jump to navigationJump to search
931 bytes removed ,  15:19, 8 August 2013
Line 45: Line 45:     
=== Downloading From GitHub Without Git ===
 
=== Downloading From GitHub Without Git ===
 +
If you download the latest code/version, make sure you periodically update it by downloading a newer version.
 +
 
From github you can download:
 
From github you can download:
# Latest Code (master branch) via
+
# Latest Code (master branch)
## Website
+
#: via Website
### Goto: https://github.com/statgen/{{{repoName}}}
+
#:# Goto: https://github.com/statgen/{{{repoName}}}
### Click on the <code>Download ZIP</code> button on the right side panel.
+
#:# Click on the <code>Download ZIP</code> button on the right side panel.
## Command Line
+
#: via Command Line
##: <code>wget https://github.com/statgen/{{{repoName}}}/archive/master.tar.gz</code>
+
#:: <code>wget https://github.com/statgen/{{{repoName}}}/archive/master.tar.gz</code>
##:: or
+
#::: or
##: <code>wget https://github.com/statgen/{{{repoName}}}/archive/master.zip</code>
+
#:: <code>wget https://github.com/statgen/{{{repoName}}}/archive/master.zip</code>
 
# Specific Release (via a tag)
 
# Specific Release (via a tag)
## Website
+
#: via Website
### Goto: https://github.com/statgen/{{{repoName}}}/releases to see the available versions
+
#:# Goto: https://github.com/statgen/{{{repoName}}}/releases to see the available releases
### Click <code>zip</code> or <code>tar.gz</code> for the desired version.
+
#:# Click <code>zip</code> or <code>tar.gz</code> for the desired version.
## Command Line
+
#: via Command Line
##: <code>wget https://github.com/statgen/{{{repoName}}}/archive/<tagName>.tar.gz</code>
+
#:: <code>wget https://github.com/statgen/{{{repoName}}}/archive/<tagName>.tar.gz</code>
##:: or
+
#::: or
##: <code>wget https://github.com/statgen/{{{repoName}}}/archive/<tagName>.zip</code>
+
#:: <code>wget https://github.com/statgen/{{{repoName}}}/archive/<tagName>.zip</code>
 
{{#if: {{{latestReleaseBranch|}}} |
 
{{#if: {{{latestReleaseBranch|}}} |
 
#Latest Release (via a branch)
 
#Latest Release (via a branch)
## Website
+
#: via Website
### Goto: https://github.com/statgen/{{{repoName}}}/releases to see the available versions
+
#:# Goto: https://github.com/statgen/{{{repoName}}}/tree/{{{latestReleaseBranch}}} to see the latest release
### Click <code>zip</code> or <code>tar.gz</code> for the desired version.
+
#:# Click on the <code>Download ZIP</code> button on the right side panel.
## Command Line
+
#: via Command Line
##: <code>wget https://github.com/statgen/{{{repoName}}}/archive/<tagName>.tar.gz</code>
+
#:: <code>wget https://github.com/statgen/{{{repoName}}}/archive/{{{latestReleaseBranch}}}.tar.gz</code>
##:: or
+
#::: or
##: <code>wget https://github.com/statgen/{{{repoName}}}/archive/<tagName>.zip</code>
+
#:: <code>wget https://github.com/statgen/{{{repoName}}}/archive/{{{latestReleaseBranch}}}.zip</code>
 
}}
 
}}
   −
==== Downloading a Released Version ====
+
After downloading the file, uncompress (unzip/untar) it. The directory created will be named <code>{{{repoName}}}-<name of version you downloaded>.
You can download a specific release from github.  To see the releases available, go to: https://github.com/statgen/{{{repoName}}}/releases
  −
 
  −
You can either download via:
  −
* Website
  −
*:Click on <code>zip</code> or <code>tar.gz</code> to download that version.
  −
* Command Line
  −
* wget https://github.com/statgen/{{{repoName}}}/archive/<tagName>.tar.gz
  −
 
  −
==== Downloading the Latest Version ====
  −
 
  −
Periodically download the latest copy from github.
  −
 
  −
You can either download the latest copy via:
  −
* Website
  −
*:Click on <code>zip</code> or <code>tar.gz</code> to download that version.
  −
* Command Line
  −
* wget https://github.com/statgen/{{{repoName}}}/archive/master.tar.gz
  −
 
  −
 
  −
The downloaded tar file is named "statgen-{{{repoName}}}-someHexNumber.tar.gz". The directory created when it is untared shares the same base name. I recommend that you do not change the name of the directory. If you want one called {{{repoName}}}, create a link to this directory. The hex number in the directory name identifies the version of the repository that you downloaded and is necessary to easily troubleshoot any issues you encounter. If you must rename the directory, be sure to record the hex number that was on the download for future reference.
      
== Building ==
 
== Building ==

Navigation menu