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âs 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âs 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>