You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mahout.apache.org by bu...@apache.org on 2015/04/20 15:25:48 UTC

svn commit: r948404 - in /websites/staging/mahout/trunk/content: ./ general/downloads.html

Author: buildbot
Date: Mon Apr 20 13:25:48 2015
New Revision: 948404

Log:
Staging update by buildbot for mahout

Modified:
    websites/staging/mahout/trunk/content/   (props changed)
    websites/staging/mahout/trunk/content/general/downloads.html

Propchange: websites/staging/mahout/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Apr 20 13:25:48 2015
@@ -1 +1 @@
-1674077
+1674842

Modified: websites/staging/mahout/trunk/content/general/downloads.html
==============================================================================
--- websites/staging/mahout/trunk/content/general/downloads.html (original)
+++ websites/staging/mahout/trunk/content/general/downloads.html Mon Apr 20 13:25:48 2015
@@ -261,6 +261,12 @@
   <div id="content-wrap" class="clearfix">
    <div id="main">
     <p><a name="Downloads-OfficialRelease"></a></p>
+<h1 id="source-code-for-curren-snapshot">Source code for curren snapshot</h1>
+<p>Apache Mahout is mirrored to <a href="https://github.com/apache/mahout">Github</a>. To get all source:</p>
+<div class="codehilite"><pre><span class="n">git</span> <span class="n">clone</span> <span class="n">https</span><span class="p">:</span><span class="o">//</span><span class="n">github</span><span class="p">.</span><span class="n">com</span><span class="o">/</span><span class="n">apache</span><span class="o">/</span><span class="n">mahout</span><span class="p">.</span><span class="n">git</span> <span class="n">mahout</span>
+</pre></div>
+
+
 <h1 id="official-release">Official Release</h1>
 <p>Apache Mahout is an official Apache project and thus available from any of
 the Apache mirrors. The latest Mahout release is available for download at: </p>
@@ -268,15 +274,17 @@ the Apache mirrors. The latest Mahout re
 <li><a href="http://www.apache.org/dyn/closer.cgi/mahout/">Download Latest</a></li>
 <li><a href="http://archive.apache.org/dist/mahout/">Release Archive</a></li>
 </ul>
-<p>For <a href="http://maven.apache.org">Maven</a> users please include the following snippet in your pom:</p>
-<div class="codehilite"><pre><span class="nt">&lt;dependency&gt;</span>
-    <span class="nt">&lt;groupId&gt;</span>org.apache.mahout<span class="nt">&lt;/groupId&gt;</span>
-    <span class="nt">&lt;artifactId&gt;</span>mahout-core<span class="nt">&lt;/artifactId&gt;</span>
-    <span class="nt">&lt;version&gt;</span><span class="cp">${</span><span class="n">mahout</span><span class="o">.</span><span class="n">version</span><span class="cp">}</span><span class="nt">&lt;/version&gt;</span>
-<span class="nt">&lt;/dependency&gt;</span>
+<h1 id="environment">Environment</h1>
+<p>Edit your environment in <code>~/.bash_profile`` `for Mac or</code>~/.bashrc``` for many linux distributions. Add the following</p>
+<div class="codehilite"><pre><span class="n">export</span> <span class="n">MAHOUT_HOME</span><span class="p">=</span><span class="o">/</span><span class="n">path</span><span class="o">/</span><span class="n">to</span><span class="o">/</span><span class="n">mahout</span>
+<span class="n">export</span> <span class="n">MAHOUT_LOCAL</span><span class="p">=</span><span class="n">true</span> # <span class="k">for</span> <span class="n">running</span> <span class="n">standalone</span> <span class="n">on</span> <span class="n">your</span> <span class="n">dev</span> <span class="n">machine</span><span class="p">,</span> 
+# <span class="n">unset</span> <span class="n">MAHOUT_LOCAL</span> <span class="k">for</span> <span class="n">running</span> <span class="n">on</span> <span class="n">a</span> <span class="n">cluster</span>
 </pre></div>
 
 
+<h1 id="using-mahout-as-a-library">Using Mahout as a Library</h1>
+<p>Running any application that uses Mahout will require installing a binary or source version and setting the environment.<br />
+Then add the appropriate setting to your pom.xml or build.sbt following the template below.</p>
 <p>If you only need the math part of Mahout:</p>
 <div class="codehilite"><pre><span class="nt">&lt;dependency&gt;</span>
     <span class="nt">&lt;groupId&gt;</span>org.apache.mahout<span class="nt">&lt;/groupId&gt;</span>
@@ -289,7 +297,7 @@ the Apache mirrors. The latest Mahout re
 <p>In case you would like to use some of our integration tooling (e.g. for generating vectors from Lucene):</p>
 <div class="codehilite"><pre><span class="nt">&lt;dependency&gt;</span>
     <span class="nt">&lt;groupId&gt;</span>org.apache.mahout<span class="nt">&lt;/groupId&gt;</span>
-    <span class="nt">&lt;artifactId&gt;</span>mahout-integration<span class="nt">&lt;/artifactId&gt;</span>
+    <span class="nt">&lt;artifactId&gt;</span>mahout-hdfs<span class="nt">&lt;/artifactId&gt;</span>
     <span class="nt">&lt;version&gt;</span><span class="cp">${</span><span class="n">mahout</span><span class="o">.</span><span class="n">version</span><span class="cp">}</span><span class="nt">&lt;/version&gt;</span>
 <span class="nt">&lt;/dependency&gt;</span>
 </pre></div>
@@ -301,7 +309,7 @@ the Apache mirrors. The latest Mahout re
 <p>Official releases are usually created when the developers feel there are
 sufficient changes, improvements and bug fixes to warrant a release. Watch
 the <a href="https://mahout.apache.org/general/mailing-lists,-irc-and-archives.html">Mailing lists</a>
- for latest release discussions.</p>
+ for latest release discussions and check the Github repo.</p>
    </div>
   </div>     
 </div>