You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by ha...@apache.org on 2020/05/23 03:06:08 UTC

[incubator-pinot] branch master updated: Pinot website: fixing break links and updating installation guide (#5431)

This is an automated email from the ASF dual-hosted git repository.

haibow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git


The following commit(s) were added to refs/heads/master by this push:
     new f35583f  Pinot website: fixing break links and updating installation guide (#5431)
f35583f is described below

commit f35583f794f9f65778b5d2bb4740f6d41b009bab
Author: Xiang Fu <fx...@gmail.com>
AuthorDate: Fri May 22 20:05:56 2020 -0700

    Pinot website: fixing break links and updating installation guide (#5431)
---
 website/docusaurus.config.js |  6 +++---
 website/src/pages/index.js   | 26 +++++++++++++++++++-------
 2 files changed, 22 insertions(+), 10 deletions(-)

diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js
index ae0fc2d..5ab8938 100755
--- a/website/docusaurus.config.js
+++ b/website/docusaurus.config.js
@@ -62,10 +62,10 @@ module.exports = {
             },
             {
               label: 'Architecture',
-              to: 'https://docs.pinot.apache.org/concepts/architecture',
+              to: 'https://docs.pinot.apache.org/basics/architecture',
             },
             {
-              label: 'PluginsArchitecture',
+              label: 'Plugins Architecture',
               to: 'https://docs.pinot.apache.org/plugins/plugin-architecture',
             },
           ],
@@ -100,7 +100,7 @@ module.exports = {
             },
             {
               label: 'User Guide',
-              to: 'https://docs.pinot.apache.org/pinot-user-guide',
+              to: 'https://docs.pinot.apache.org/users',
             },
             {
               label: 'Administration',
diff --git a/website/src/pages/index.js b/website/src/pages/index.js
index 21056e8..7ad4752 100755
--- a/website/src/pages/index.js
+++ b/website/src/pages/index.js
@@ -212,20 +212,32 @@ function Installation() {
 
         <Tabs
           className="mini"
-          defaultValue="humans"
+          defaultValue="helm"
           values={[
-            { label: <><i className="feather icon-user-check"></i> For Humans</>, value: 'humans', },
-            { label: <><i className="feather icon-cpu"></i> For Machines</>, value: 'machines', },
+            { label: <><i className="feather icon-download-cloud"></i> Using Helm</>, value: 'helm', },
+            { label: <><i className="feather icon-download"></i> Using Binary</>, value: 'binary', },
+            { label: <><i className="feather icon-github"></i> Build From Source</>, value: 'github', },
           ]
         }>
-          <TabItem value="humans">
+          <TabItem value="helm">
             <CodeBlock className="language-bash">
-              wget https://www.apache.org/dyn/closer.lua/incubator/pinot/apache-pinot-incubating-0.3.0/apache-pinot-incubating-0.3.0-bin.tar.gz
+              {
+                `helm repo add pinot https://raw.githubusercontent.com/apache/incubator-pinot/master/kubernetes/helm\nkubectl create ns pinot\nhelm install pinot pinot/pinot -n pinot --set cluster.name=pinot`
+              }
             </CodeBlock>
           </TabItem>
-          <TabItem value="machines">
+          <TabItem value="binary">
             <CodeBlock className="language-bash">
-            wget https://www.apache.org/dyn/closer.lua/incubator/pinot/apache-pinot-incubating-0.3.0/apache-pinot-incubating-0.3.0-src.tar.gz -y
+              {
+                `VERSION=0.3.0\nwget https://downloads.apache.org/incubator/pinot/apache-pinot-incubating-$VERSION/apache-pinot-incubating-$VERSION-bin.tar.gz\ntar vxf apache-pinot-incubating-*-bin.tar.gz\ncd apache-pinot-incubating-*-bin\nbin/quick-start-batch.sh`
+              }
+            </CodeBlock>
+          </TabItem>
+          <TabItem value="github">
+            <CodeBlock className="language-bash">
+              {
+                `# Clone a repo\ngit clone https://github.com/apache/incubator-pinot.git\ncd incubator-pinot\n\n# Build Pinot\nmvn clean install -DskipTests -Pbin-dist\n\n# Run the Quick Demo\ncd pinot-distribution/target/apache-pinot-incubating-*-SNAPSHOT-bin/apache-pinot-incubating-*-SNAPSHOT-bin\nbin/quick-start-batch.sh`
+              }
             </CodeBlock>
           </TabItem>
         </Tabs>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org