Author: lidong Date: Mon Feb 6 10:53:44 2017 New Revision: 1781874 URL: http://svn.apache.org/viewvc?rev=1781874&view=rev Log: docs about how to build binary package
Modified: kylin/site/development/howto_package.html kylin/site/feed.xml Modified: kylin/site/development/howto_package.html URL: http://svn.apache.org/viewvc/kylin/site/development/howto_package.html?rev=1781874&r1=1781873&r2=1781874&view=diff ============================================================================== --- kylin/site/development/howto_package.html (original) +++ kylin/site/development/howto_package.html Mon Feb 6 10:53:44 2017 @@ -551,17 +551,47 @@ <h1 class="post-title">How to Build Binary Package</h1> <article class="post-content" > <h3 id="generate-binary-package">Generate Binary Package</h3> +<p>This document talks about how to build binary package from source code.</p> -<div class="highlight"><pre><code class="language-bash" data-lang="bash">git clone https://github.com/apache/kylin kylin -<span class="nb">cd </span>kylin -./build/script/package.sh</code></pre></div> +<h4 id="download-source-code">Download source code</h4> +<p>You can download Apache Kylin source code from github repository.</p> + +<div class="highlighter-rouge"><pre class="highlight"><code>git clone https://github.com/apache/kylin kylin +</code></pre> +</div> + +<h4 id="build-binary-package">Build Binary Package</h4> <p>In order to generate binary package, <strong>maven</strong> and <strong>npm</strong> are pre-requisites.</p> -<p>If youâre behind a proxy server, both npm and bower need be told with the proxy info before running ./script/package.sh:</p> +<p><strong>(Optional)</strong> If youâre behind a proxy server, both npm and bower need be told with the proxy info before running ./script/package.sh:</p> + +<div class="highlighter-rouge"><pre class="highlight"><code>export http_proxy=http://your-proxy-host:port +npm config set proxy http://your-proxy-host:port +</code></pre> +</div> + +<h5 id="build-package-for-hbase-1x">Build Package for HBase 1.x</h5> +<div class="highlighter-rouge"><pre class="highlight"><code>cd kylin +build/script/package.sh +</code></pre> +</div> + +<h5 id="build-package-for-cdh-57">Build Package for CDH 5.7</h5> +<div class="highlighter-rouge"><pre class="highlight"><code>cd kylin +build/script/package.sh -P cdh 5.7 +</code></pre> +</div> + +<h5 id="build-package-for-hbase-098x">Build Package for HBase 0.98.x</h5> + +<p>Source code for HBase 0.98.x is in another branch named master-hbase0.98, and you need to switch to this branch before build the package.</p> -<div class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="nb">export </span><span class="nv">http_proxy</span><span class="o">=</span>http://your-proxy-host:port -npm config <span class="nb">set </span>proxy http://your-proxy-host:port</code></pre></div> +<div class="highlighter-rouge"><pre class="highlight"><code>cd kylin +git checkout master-hbase0.98 +build/script/package.sh +</code></pre> +</div> </article> </div> Modified: kylin/site/feed.xml URL: http://svn.apache.org/viewvc/kylin/site/feed.xml?rev=1781874&r1=1781873&r2=1781874&view=diff ============================================================================== --- kylin/site/feed.xml (original) +++ kylin/site/feed.xml Mon Feb 6 10:53:44 2017 @@ -19,8 +19,8 @@ <description>Apache Kylin Home</description> <link>http://kylin.apache.org/</link> <atom:link href="http://kylin.apache.org/feed.xml" rel="self" type="application/rss+xml"/> - <pubDate>Thu, 02 Feb 2017 17:07:35 -0800</pubDate> - <lastBuildDate>Thu, 02 Feb 2017 17:07:35 -0800</lastBuildDate> + <pubDate>Mon, 06 Feb 2017 02:53:05 -0800</pubDate> + <lastBuildDate>Mon, 06 Feb 2017 02:53:05 -0800</lastBuildDate> <generator>Jekyll v2.5.3</generator> <item>