Skip to content

Commit

Permalink
Update contributing doc (googleapis#9095)
Browse files Browse the repository at this point in the history
  • Loading branch information
shubha-rajan authored and emar-kar committed Sep 18, 2019
1 parent a1d4f8f commit 9b57b85
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,7 @@ Running System Tests
authentication to your project:

- ``GOOGLE_APPLICATION_CREDENTIALS``: The path to a JSON key file;
see ``system_tests/app_credentials.json.sample`` as an example. Such a file
can be downloaded directly from the developer's console by clicking
Such a file can be downloaded directly from the developer's console by clicking
"Generate new JSON key". See private key
`docs <https://cloud.google.com/storage/docs/authentication#generating-a-private-key>`__
for more details.
Expand All @@ -180,11 +179,10 @@ Running System Tests
"IAM & Admin". Additionally, ``cloud-logs@google.com`` must be given
``Editor`` permissions on the project.

- Examples of these can be found in ``system_tests/local_test_setup.sample``. We
recommend copying this to ``system_tests/local_test_setup``, editing the
values and sourcing them into your environment::
- Once you have downloaded your json keys, set the environment variable
``GOOGLE_APPLICATION_CREDENTIALS`` to the absolute path of the json file::

$ source system_tests/local_test_setup
$ export GOOGLE_APPLICATION_CREDENTIALS="/Users/<your_username>/path/to/app_credentials.json"

- For datastore tests, you'll need to create composite
`indexes <https://cloud.google.com/datastore/docs/tools/indexconfig>`__
Expand Down

0 comments on commit 9b57b85

Please sign in to comment.