@@ -419,6 +419,55 @@ Also provide the name and email that will be used to sign off on commits to Git
419419
420420 FEDERATEDCODE_GIT_SERVICE_EMAIL=insert_email_here
421421
422+ .. _scancodeio_settings_grimoirelab :
423+
424+ GrimoireLab
425+ ^^^^^^^^^^^^^
426+
427+ GrimoireLab is a platform for software development analytics and insights.
428+
429+ Before launching the GrimoireLab service, ensure that your GrimoireLab
430+ instance is version 2.x and that OpenSearch is running.
431+
432+ See https://github.com/chaoss/grimoirelab#getting-started for more details
433+ on the installation.
434+
435+ To configure your local environment, set the following in your ``.env `` file::
436+
437+ GRIMOIRELAB_METRICS_EXECUTABLE="./healthycode/venv/bin/grimoirelab-metrics"
438+ GRIMOIRELAB_URL="http://example.com:8000"
439+ GRIMOIRELAB_USERNAME="username"
440+ GRIMOIRELAB_PASSWORD="password"
441+ GRIMOIRELAB_OPENSEARCH_URL="https://example.com:9200"
442+ GRIMOIRELAB_OPENSEARCH_INDEX="events"
443+ GRIMOIRELAB_OPENSEARCH_USERNAME="opensearch_username"
444+ GRIMOIRELAB_OPENSEARCH_PASSWORD="opensearch_password"
445+ GRIMOIRELAB_ECOSYSTEM="npm-training-set"
446+ GRIMOIRELAB_PROJECT="npm-popular-components"
447+
448+ The following variables configure the connection to the GrimoireLab instance:
449+
450+ - ``GRIMOIRELAB_METRICS_EXECUTABLE ``: Path to the grimoirelab-metrics executable, See
451+ here for more details on how to set up
452+ the grimoirelab-metrics executable: https://github.com/aboutcode-org/healthycode#installation
453+
454+ - ``GRIMOIRELAB_URL ``: URL of the GrimoireLab instance.
455+ - ``GRIMOIRELAB_USERNAME ``: Username used to authenticate with GrimoireLab.
456+ - ``GRIMOIRELAB_PASSWORD ``: Password used to authenticate with GrimoireLab.
457+
458+ The following variables configure the connection to OpenSearch:
459+
460+ - ``GRIMOIRELAB_OPENSEARCH_URL ``: URL of the OpenSearch instance.
461+ - ``GRIMOIRELAB_OPENSEARCH_INDEX ``: OpenSearch index containing the GrimoireLab events.
462+ - ``GRIMOIRELAB_OPENSEARCH_USERNAME ``: Username used to authenticate with OpenSearch.
463+ - ``GRIMOIRELAB_OPENSEARCH_PASSWORD ``: Password used to authenticate with OpenSearch.
464+
465+ The following variables specify the GrimoireLab project where the project
466+ data is stored:
467+
468+ - ``GRIMOIRELAB_ECOSYSTEM ``: Ecosystem containing the project data.
469+ - ``GRIMOIRELAB_PROJECT ``: Name of the GrimoireLab project containing the project data.
470+
422471
423472.. _scancodeio_settings_fetch_authentication :
424473
0 commit comments