This is an automated email from the ASF dual-hosted git repository. xiangfu pushed a commit to branch update_website in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git
commit 9d62c4a0e0822e46524faa711db14e0341a1ccdc Author: Xiang Fu <fx19880...@gmail.com> AuthorDate: Thu May 21 23:51:39 2020 -0700 Pinot website: fixing break links and updating installation guide --- 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-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org