flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From u..@apache.org
Subject flink git commit: [FLINK-3903] [docs] Add Homebrew installation docs
Date Tue, 28 Feb 2017 10:29:29 GMT
Repository: flink
Updated Branches:
  refs/heads/release-1.2 5168b9f62 -> 90173b724


[FLINK-3903] [docs] Add Homebrew installation docs

This closes #3393.


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/90173b72
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/90173b72
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/90173b72

Branch: refs/heads/release-1.2
Commit: 90173b724cf325ae0bcb10455bd03fc38da440d6
Parents: 5168b9f
Author: heytitle <pat.chormai@gmail.com>
Authored: Wed Feb 22 17:04:42 2017 +0100
Committer: Ufuk Celebi <uce@apache.org>
Committed: Tue Feb 28 11:28:14 2017 +0100

----------------------------------------------------------------------
 docs/quickstart/setup_quickstart.md | 23 +++++++++++++++++++----
 1 file changed, 19 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/90173b72/docs/quickstart/setup_quickstart.md
----------------------------------------------------------------------
diff --git a/docs/quickstart/setup_quickstart.md b/docs/quickstart/setup_quickstart.md
index fcf82b5..e5a1923 100644
--- a/docs/quickstart/setup_quickstart.md
+++ b/docs/quickstart/setup_quickstart.md
@@ -46,9 +46,10 @@ Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
 Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)
 ~~~
 
-### Download
-
 {% if site.is_stable %}
+<div class="codetabs" markdown="1">
+
+<div data-lang="Download and Unpack" markdown="1">
 1. Download a binary from the [downloads page](http://flink.apache.org/downloads.html). You
can pick
    any Hadoop/Scala combination you like. If you plan to just use the local file system,
any Hadoop
    version will work fine.
@@ -60,9 +61,23 @@ $ cd ~/Downloads        # Go to download directory
 $ tar xzf flink-*.tgz   # Unpack the downloaded archive
 $ cd flink-{{site.version}}
 ~~~
+</div>
+
+<div data-lang="MacOS X" markdown="1">
+For MacOS X users, Flink can be installed through [Homebrew](https://brew.sh/).
+~~~bash
+$ brew install apache-flink
+...
+$ flink --version
+Version: 1.2.0, Commit ID: 1c659cf
+~~~
+</div>
+
+</div>
+
 {% else %}
-Clone the source code from one of our
-[repositories](http://flink.apache.org/community.html#source-code), e.g.:
+### Download and Compile
+Clone the source code from one of our [repositories](http://flink.apache.org/community.html#source-code),
e.g.:
 
 ~~~bash
 $ git clone https://github.com/apache/flink.git


Mime
View raw message