You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@joshua.apache.org by mj...@apache.org on 2016/04/05 14:40:30 UTC

[41/50] incubator-joshua-site git commit: added button to runtime

added button to runtime


Project: http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/commit/025c8f35
Tree: http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/tree/025c8f35
Diff: http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/diff/025c8f35

Branch: refs/heads/master
Commit: 025c8f35038745fcafc51539c83c41a4d1cbe9ad
Parents: 33eedd8
Author: Matt Post <po...@cs.jhu.edu>
Authored: Fri Nov 6 09:59:39 2015 -0500
Committer: Matt Post <po...@cs.jhu.edu>
Committed: Fri Nov 6 09:59:39 2015 -0500

----------------------------------------------------------------------
 6.0/install.md              | 38 +++++++++++++++++++-------------------
 _layouts/default6.html      |  2 ++
 language-packs/index.md     |  2 +-
 releases/runtime/index.html |  4 ++++
 4 files changed, 26 insertions(+), 20 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/025c8f35/6.0/install.md
----------------------------------------------------------------------
diff --git a/6.0/install.md b/6.0/install.md
index 6d13e4d..87e0079 100644
--- a/6.0/install.md
+++ b/6.0/install.md
@@ -12,46 +12,46 @@ See the instructions below.
 1.  Set up some basic environment variables. 
     You need to define `$JAVA_HOME`
 
-       export JAVA_HOME=/path/to/java
+        export JAVA_HOME=/path/to/java
 
-       # JAVA_HOME is not very standardized. Here are some places to look:
-       # OS X:  export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home
-       # Linux: export JAVA_HOME=/usr/java/default
+        # JAVA_HOME is not very standardized. Here are some places to look:
+        # OS X:  export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home
+        # Linux: export JAVA_HOME=/usr/java/default
 
 1.  If you are installing the full version of Joshua, you also need to define `$HADOOP` to point to your Hadoop installation.
     (Joshua looks for the Hadoop executuble in `$HADOOP/bin/hadoop`)
 
-       export HADOOP=/usr
+        export HADOOP=/usr
 
     If you don't have a Hadoop installation, [Joshua's pipeline](pipeline.html) can install a standalone version for you.
     
 1.  To install just the runtime version of Joshua, type
 
-       wget -q http://cs.jhu.edu/~post/files/joshua-runtime-{{ site.data.joshua.release_version }}.tgz
+        wget -q http://cs.jhu.edu/~post/files/joshua-runtime-{{ site.data.joshua.release_version }}.tgz
 
     Then build everything
 
-       tar xzf joshua-runtime-{{ site.data.joshua.release_version }}.tgz
-       cd joshua-runtime-{{ site.data.joshua.release_version }}
+        tar xzf joshua-runtime-{{ site.data.joshua.release_version }}.tgz
+        cd joshua-runtime-{{ site.data.joshua.release_version }}
 
-       # Add this to your init files
-       export JOSHUA=$(pwd)
+        # Add this to your init files
+        export JOSHUA=$(pwd)
        
-       # build everything
-       ant
+        # build everything
+        ant
 
 1.  To instead install the full version, type
 
-       wget -q http://cs.jhu.edu/~post/files/joshua-{{ site.data.joshua.release_version }}.tgz
+        wget -q http://cs.jhu.edu/~post/files/joshua-{{ site.data.joshua.release_version }}.tgz
 
-       tar xzf joshua-{{ site.data.joshua.release_version }}.tgz
-       cd joshua-{{ site.data.joshua.release_version }}
+        tar xzf joshua-{{ site.data.joshua.release_version }}.tgz
+        cd joshua-{{ site.data.joshua.release_version }}
 
-       # Add this to your init files
-       export JOSHUA=$(pwd)
+        # Add this to your init files
+        export JOSHUA=$(pwd)
        
-       # build everything
-       ant
+        # build everything
+        ant
 
 ### Building new models
 

http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/025c8f35/_layouts/default6.html
----------------------------------------------------------------------
diff --git a/_layouts/default6.html b/_layouts/default6.html
index 0ca8adb..94cd42c 100644
--- a/_layouts/default6.html
+++ b/_layouts/default6.html
@@ -48,6 +48,8 @@
           <hr>
           <center>
             <a href="/releases/current/" target="_blank"><button class="button">Download Joshua {{ site.data.joshua.release_version }}</button></a>
+            <br />
+            <a href="/releases/runtime/" target="_blank"><button class="button">Download Joshua (runtime only) {{ site.data.joshua.release_version }}</button></a>
             <p>Released {{ site.data.joshua.release_date }}</p>
           </center>
           <hr>

http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/025c8f35/language-packs/index.md
----------------------------------------------------------------------
diff --git a/language-packs/index.md b/language-packs/index.md
index c07b6f4..16c98f0 100644
--- a/language-packs/index.md
+++ b/language-packs/index.md
@@ -23,7 +23,7 @@ The default release version of Joshua includes hundreds of megabytes of dependen
 for building models from your own language pairs. If you only wish to run language packs
 (effectively using Joshua as a black-box translation engine), you can install a "light" version
 of Joshua that includes only dependencies needed to run the translation piece. See the notes
-on [the installation page](../6/install.html).
+on [the installation page](../6.0/install.html).
 
 ## Available language packs
 

http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/025c8f35/releases/runtime/index.html
----------------------------------------------------------------------
diff --git a/releases/runtime/index.html b/releases/runtime/index.html
new file mode 100644
index 0000000..7e254fe
--- /dev/null
+++ b/releases/runtime/index.html
@@ -0,0 +1,4 @@
+---
+redirect_to:
+  - http://cs.jhu.edu/~post/files/joshua-runtime-{{ site.data.joshua.release_version }}.tgz
+---