Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E3025200C49 for ; Sat, 25 Feb 2017 00:27:42 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E1D18160B69; Fri, 24 Feb 2017 23:27:42 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3FC17160B7A for ; Sat, 25 Feb 2017 00:27:42 +0100 (CET) Received: (qmail 23711 invoked by uid 500); 24 Feb 2017 23:27:41 -0000 Mailing-List: contact commits-help@beam.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@beam.apache.org Delivered-To: mailing list commits@beam.apache.org Received: (qmail 23698 invoked by uid 99); 24 Feb 2017 23:27:41 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Feb 2017 23:27:41 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 3333DDFE7B; Fri, 24 Feb 2017 23:27:41 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: altay@apache.org To: commits@beam.apache.org Date: Fri, 24 Feb 2017 23:27:42 -0000 Message-Id: <33fff1447b724a7b99d6267662b9cbba@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [2/3] beam-site git commit: Regenerate website archived-at: Fri, 24 Feb 2017 23:27:43 -0000 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/5a77ddc4 Tree: http://git-wip-us.apache.org/repos/asf/beam-site/tree/5a77ddc4 Diff: http://git-wip-us.apache.org/repos/asf/beam-site/diff/5a77ddc4 Branch: refs/heads/asf-site Commit: 5a77ddc4dfff92c2cc4b4d99d6a30adc8b2f4388 Parents: e7721f1 Author: Ahmet Altay Authored: Fri Feb 24 15:27:01 2017 -0800 Committer: Ahmet Altay Committed: Fri Feb 24 15:27:01 2017 -0800 ---------------------------------------------------------------------- content/get-started/quickstart-py/index.html | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/beam-site/blob/5a77ddc4/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 8301f3b..f73be31 100644 --- a/content/get-started/quickstart-py/index.html +++ b/content/get-started/quickstart-py/index.html @@ -235,7 +235,7 @@ environment’s directories.

  • Install the Apache Beam SDK - pip install dist/apache-beam-sdk-*.tar.gz .[gcp]

    + pip install dist/apache-beam-*.tar.gz

  • @@ -245,7 +245,18 @@ environment’s directories.

    For example, to run wordcount.py, run:

    -
    python -m apache_beam.examples.wordcount --input gs://dataflow-samples/shakespeare/kinglear.txt --output output.txt
    +
    python -m apache_beam.examples.wordcount --input README.md --output counts
    +
    +
    + +
    # As part of the initial setup, install gcp specific extra components.
    +pip install dist/apache-beam-*.tar.gz .[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