You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by al...@apache.org on 2017/03/21 01:11:46 UTC
[1/3] beam-site git commit: Simplify python quick start.
Repository: beam-site
Updated Branches:
refs/heads/asf-site 61de614fb -> 0b21f131a
Simplify python quick start.
Project: http://git-wip-us.apache.org/repos/asf/beam-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam-site/commit/af0821f3
Tree: http://git-wip-us.apache.org/repos/asf/beam-site/tree/af0821f3
Diff: http://git-wip-us.apache.org/repos/asf/beam-site/diff/af0821f3
Branch: refs/heads/asf-site
Commit: af0821f3628705036addc24f00d6ecb2a7fd9a4c
Parents: 61de614
Author: Ahmet Altay <al...@google.com>
Authored: Mon Mar 20 15:31:14 2017 -0700
Committer: Ahmet Altay <al...@google.com>
Committed: Mon Mar 20 17:57:02 2017 -0700
----------------------------------------------------------------------
src/get-started/quickstart-py.md | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/beam-site/blob/af0821f3/src/get-started/quickstart-py.md
----------------------------------------------------------------------
diff --git a/src/get-started/quickstart-py.md b/src/get-started/quickstart-py.md
index c04bf09..6d729bd 100644
--- a/src/get-started/quickstart-py.md
+++ b/src/get-started/quickstart-py.md
@@ -63,7 +63,10 @@ For instructions using other shells, see the [virtualenv documentation](https://
### Download and install
Install the latest Python SDK from PyPI:
- `pip install apache-beam`
+
+```
+pip install apache-beam
+```
## Execute a pipeline locally
@@ -78,14 +81,13 @@ python -m apache_beam.examples.wordcount --input README.md --output counts
{:.runner-dataflow}
```
-# As part of the initial setup, install gcp specific extra components.
-pip install dist/apache-beam-*.tar.gz .[gcp]
+# As part of the initial setup, install Google Cloud Platform specific extra components.
+pip install apache-beam[gcp]
python -m apache_beam.examples.wordcount --input gs://dataflow-samples/shakespeare/kinglear.txt \
--output gs://<your-gcs-bucket>/counts \
--runner DataflowRunner \
--project your-gcp-project \
- --temp_location gs://<your-gcs-bucket>/tmp/ \
- --sdk_location dist/apache-beam-*.tar.gz
+ --temp_location gs://<your-gcs-bucket>/tmp/
```
## Next Steps
[2/3] beam-site git commit: Regenerate website
Posted by al...@apache.org.
Regenerate website
Project: http://git-wip-us.apache.org/repos/asf/beam-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam-site/commit/7d9208ea
Tree: http://git-wip-us.apache.org/repos/asf/beam-site/tree/7d9208ea
Diff: http://git-wip-us.apache.org/repos/asf/beam-site/diff/7d9208ea
Branch: refs/heads/asf-site
Commit: 7d9208ea92fb34c294455b0fb96066678abaf9f0
Parents: af0821f
Author: Ahmet Altay <al...@google.com>
Authored: Mon Mar 20 17:57:45 2017 -0700
Committer: Ahmet Altay <al...@google.com>
Committed: Mon Mar 20 17:57:45 2017 -0700
----------------------------------------------------------------------
content/get-started/quickstart-py/index.html | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/beam-site/blob/7d9208ea/content/get-started/quickstart-py/index.html
----------------------------------------------------------------------
diff --git a/content/get-started/quickstart-py/index.html b/content/get-started/quickstart-py/index.html
index b717987..ce774cb 100644
--- a/content/get-started/quickstart-py/index.html
+++ b/content/get-started/quickstart-py/index.html
@@ -221,8 +221,11 @@ environment\u2019s directories.</p>
<h3 id="download-and-install">Download and install</h3>
-<p>Install the latest Python SDK from PyPI:
- <code class="highlighter-rouge">pip install apache-beam</code></p>
+<p>Install the latest Python SDK from PyPI:</p>
+
+<div class="highlighter-rouge"><pre class="highlight"><code>pip install apache-beam
+</code></pre>
+</div>
<h2 id="execute-a-pipeline-locally">Execute a pipeline locally</h2>
@@ -234,14 +237,13 @@ environment\u2019s directories.</p>
</code></pre>
</div>
-<div class="runner-dataflow highlighter-rouge"><pre class="highlight"><code># As part of the initial setup, install gcp specific extra components.
-pip install dist/apache-beam-*.tar.gz .[gcp]
+<div class="runner-dataflow highlighter-rouge"><pre class="highlight"><code># As part of the initial setup, install Google Cloud Platform specific extra components.
+pip install apache-beam[gcp]
python -m apache_beam.examples.wordcount --input gs://dataflow-samples/shakespeare/kinglear.txt \
--output gs://<your-gcs-bucket>/counts \
--runner DataflowRunner \
--project your-gcp-project \
- --temp_location gs://<your-gcs-bucket>/tmp/ \
- --sdk_location dist/apache-beam-*.tar.gz
+ --temp_location gs://<your-gcs-bucket>/tmp/
</code></pre>
</div>
[3/3] beam-site git commit: This closes #192
Posted by al...@apache.org.
This closes #192
Project: http://git-wip-us.apache.org/repos/asf/beam-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam-site/commit/0b21f131
Tree: http://git-wip-us.apache.org/repos/asf/beam-site/tree/0b21f131
Diff: http://git-wip-us.apache.org/repos/asf/beam-site/diff/0b21f131
Branch: refs/heads/asf-site
Commit: 0b21f131a93a5f3fcc877fcf1ecec668d9afd6f6
Parents: 61de614 7d9208e
Author: Ahmet Altay <al...@google.com>
Authored: Mon Mar 20 17:57:46 2017 -0700
Committer: Ahmet Altay <al...@google.com>
Committed: Mon Mar 20 17:57:46 2017 -0700
----------------------------------------------------------------------
content/get-started/quickstart-py/index.html | 14 ++++++++------
src/get-started/quickstart-py.md | 12 +++++++-----
2 files changed, 15 insertions(+), 11 deletions(-)
----------------------------------------------------------------------