This repository was archived by the owner on Sep 28, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,6 +21,24 @@ You can install the library quickly with ``pip``::
2121
2222 $ pip install gcloud
2323
24+ Run the demo
25+ ------------
26+
27+ In order to run the demo, you need to have registred an actual ``gcloud ``
28+ project and so you'll need to provide some environment variables to facilitate
29+ authentication to your project:
30+
31+ - ``GCLOUD_TESTS_PROJECT_ID ``: Developers Console project ID (e.g.
32+ bamboo-shift-455).
33+ - ``GCLOUD_TESTS_DATASET_ID ``: The name of the dataset your tests connect to.
34+ This is typically the same as ``GCLOUD_TESTS_PROJECT_ID ``.
35+ - ``GCLOUD_TESTS_CLIENT_EMAIL ``: The email for the service account you're
36+ authenticating with
37+ - ``GCLOUD_TESTS_KEY_FILE ``: The path to an encrypted key file.
38+ See private key
39+ `docs <https://cloud.google.com/storage/docs/authentication#generating-a-private-key >`__
40+ for explanation on how to get a private key.
41+
2442Run the
2543`example script <https://github.com/GoogleCloudPlatform/gcloud-python/blob/master/gcloud/datastore/demo/demo.py >`_
2644included in the package::
Original file line number Diff line number Diff line change @@ -11,6 +11,24 @@ You can install the library quickly with ``pip``::
1111
1212 $ pip install gcloud
1313
14+ Run the demo
15+ ------------
16+
17+ In order to run the demo, you need to have registred an actual ``gcloud ``
18+ project and so you'll need to provide some environment variables to facilitate
19+ authentication to your project:
20+
21+ - ``GCLOUD_TESTS_PROJECT_ID ``: Developers Console project ID (e.g.
22+ bamboo-shift-455).
23+ - ``GCLOUD_TESTS_DATASET_ID ``: The name of the dataset your tests connect to.
24+ This is typically the same as ``GCLOUD_TESTS_PROJECT_ID ``.
25+ - ``GCLOUD_TESTS_CLIENT_EMAIL ``: The email for the service account you're
26+ authenticating with
27+ - ``GCLOUD_TESTS_KEY_FILE ``: The path to an encrypted key file.
28+ See private key
29+ `docs <https://cloud.google.com/storage/docs/authentication#generating-a-private-key >`__
30+ for explanation on how to get a private key.
31+
1432Run the
1533`example script <https://github.com/GoogleCloudPlatform/gcloud-python/blob/master/gcloud/storage/demo/demo.py >`_
1634included in the package::
You can’t perform that action at this time.
0 commit comments