{"id":28395145,"url":"https://github.com/databiosphere/terra-test-runner-dashboard","last_synced_at":"2025-10-22T21:46:49.896Z","repository":{"id":40480638,"uuid":"391071046","full_name":"DataBiosphere/terra-test-runner-dashboard","owner":"DataBiosphere","description":"Test Runner Dashboard.","archived":false,"fork":false,"pushed_at":"2023-06-29T01:07:57.000Z","size":454,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-27T01:38:45.654Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DataBiosphere.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-07-30T13:17:03.000Z","updated_at":"2021-12-16T03:33:57.000Z","dependencies_parsed_at":"2025-06-27T01:32:11.287Z","dependency_job_id":"bd6ccf4c-2bdc-4525-a0ee-5e243ee0e37c","html_url":"https://github.com/DataBiosphere/terra-test-runner-dashboard","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/DataBiosphere/terra-test-runner-dashboard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataBiosphere%2Fterra-test-runner-dashboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataBiosphere%2Fterra-test-runner-dashboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataBiosphere%2Fterra-test-runner-dashboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataBiosphere%2Fterra-test-runner-dashboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DataBiosphere","download_url":"https://codeload.github.com/DataBiosphere/terra-test-runner-dashboard/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataBiosphere%2Fterra-test-runner-dashboard/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273100553,"owners_count":25045697,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-31T19:39:19.067Z","updated_at":"2025-10-22T21:46:49.794Z","avatar_url":"https://github.com/DataBiosphere.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terra-test-runner-dashboard (Under Development)\nThis is the codebase for Terra Test Runner Dashboard.\n\n# Setting up development environment for this repo\n* Install [PyCharm Professional](https://www.jetbrains.com/pycharm/)\n* You will need Python version 3. Install the latest version of Python if needed. Currently, the latest version is [3.10.0](https://www.python.org/downloads/) for macOS.\n  * [How to set up Python 3 as default on macOS](https://opensource.com/article/19/5/python-3-default-mac)\n* Install the latest version of [pip](https://pip.pypa.io/en/stable/installation/) if needed\n  * To upgrade `pip`, run `python3 -m pip install --upgrade pip`\n* Update gcloud components\n  * Config gcloud to use the latest version of Python, run `export CLOUDSDK_PYTHON=/usr/bin/python3`.\n  * Run `gcloud components update`\n* `npm` is needed. Using Node version manager to install the latest version of [`npm`](https://nodejs.org/en/download/)\n* Import this repo into `PyCharm` as a `Flask` project with the following settings:\n  * Select `Virtualenv` as New environment\n  * Use default `Location`\n  * Select the `Base interpreter` location (e.g. `/usr/local/bin/python3.8`)\n  * Keep the default settings (Template language: `Jinga2`, Template folder: `templates`) under `More Settings`\n\n# Build the project\n1. Run the following command in the root directory\n```commandline\npip install -r requirements.txt\n```\n2. Change directory to `test_runner_components` and execute the following commands in order\n   \n* Install all dependencies in `package.json`. After executing the following command, a new `node_modules` subdirectory that contains all the dependent modules will be created.\n```commandline\nnpm install\n```\n\n* Run build script. Compile the `React.js` components in `src/lib/components` and convert them into `Python` modules consumable by the `Dash MVC` framework. The modules are created under the `test_runner_components` subdirectory.\n```commandline\nnpm run build\n```\n  * In case of build failure related to `dash`, install `dash` by run `pip install dash`\n# Test your environment\n\nIn the `test_runner_components` directory, run the following command and point your browser to `https://localhost:8050`\n\n```commandline\npython usage.py\n```\n  * In case it failes with `ImportError: No module named 'yaml'`\n    * run `sudo python3 -m pip install pyyaml`\n\n  * If all goes well, your browser should render the `ExcampleComponent` and you should be able to interact with the text field and observe corresponding response to `onchange` events.\n\n# Deployment of Main `Dash` Application\n\nThe project is structured such that the main application resides in the root directory separate from `test_runner_components`. \n\nThis promotes clean separation between UI code and Application Context.\n\nIn order for the main `Dash` application to use the custom `test_runner_components`, we need to install them first by executing the following command from the root directory. This will build and create the wheel for `test_runner_components` and install the packages.\n\n```commandline\npip install ./test_runner_components/\n```\n\nDEPRECATION Note: A future pip version will change local packages to be built in-place without first copying to a temporary directory. We recommend you use `--use-feature=in-tree-build` to test your packages with this new behavior before it becomes the default. \n`pip 21.3` will remove support for this functionality. You can find discussion regarding this at https://github.com/pypa/pip/issues/7555.\n\nTo test that installation of `test_runner_components`, run the following `example.py` from the root directory and point your browser at http://127.0.0.1:8050/\n\n```commandline\npython example.py\n```\n\nIf all goes well, your browser should render the `ExcampleComponent` and you should be able to interact with the text field and observe corresponding response to `onchange` events.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatabiosphere%2Fterra-test-runner-dashboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatabiosphere%2Fterra-test-runner-dashboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatabiosphere%2Fterra-test-runner-dashboard/lists"}