Skip to content

Commit

Permalink
refactor: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
12rambau authored Dec 7, 2024
1 parent d7b0558 commit a4e31fc
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,15 @@ All the ``geetools`` package is build around the Google Earth Engine API. It is

Once you get access to GEE, you have 2 authentication options to work within `geetools`:

#. Specify your project
#. use a service acount
#. Specify your project
#. use a service account

Specify your project
####################

Here we assume your machine is already authenticated to GEE and some credentials are saved in your computer in the confi folder: ``~/.config/earthengine/credentials``.

In this case ``geetools`` ``docs`` and ``test`` session will only need to get the name of the projet to use. Specify it in a environment variable:
In this case ``geetools`` ``docs`` and ``test`` session will only need to get the name of the project to use. Specify it in a environment variable:

.. code-block:: console
Expand All @@ -91,17 +91,17 @@ In this case ``geetools`` ``docs`` and ``test`` session will only need to get th
Service account
###############

.. note::
.. note::

This is the method used by all the CI/CD project pipeline from documentation to deployment.
This is the method used by all the CI/CD project pipeline from documentation to deployment.

If your machine is not authenticated you can use a service account from the GCP console and save its json API key in an environment variable:
If your machine is not authenticated you can use a service account from the GCP console and save its json API key in an environment variable:

.. code-block:: console
export EARTHENGINE_SERVICE_ACCOUNT=<your key>
The key should have the following format and is genreated from the `GCP console <https://cloud.google.com/iam/docs/keys-create-delete>`__:
The key should have the following format and is generated from the `GCP console <https://cloud.google.com/iam/docs/keys-create-delete>`__:

.. code-block:: json
Expand Down

0 comments on commit a4e31fc

Please sign in to comment.