{"id":27004388,"url":"https://github.com/tacc/a2cps-weekly-dash","last_synced_at":"2025-04-04T06:16:34.238Z","repository":{"id":40759295,"uuid":"368568495","full_name":"TACC/a2cps-weekly-dash","owner":"TACC","description":"Weekly dash for A2CPS metrics","archived":false,"fork":false,"pushed_at":"2023-02-13T22:53:41.000Z","size":584,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-29T04:48:51.666Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/TACC.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}},"created_at":"2021-05-18T14:52:11.000Z","updated_at":"2023-01-17T13:33:46.000Z","dependencies_parsed_at":"2023-01-25T15:31:40.755Z","dependency_job_id":null,"html_url":"https://github.com/TACC/a2cps-weekly-dash","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TACC%2Fa2cps-weekly-dash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TACC%2Fa2cps-weekly-dash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TACC%2Fa2cps-weekly-dash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TACC%2Fa2cps-weekly-dash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TACC","download_url":"https://codeload.github.com/TACC/a2cps-weekly-dash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247128739,"owners_count":20888235,"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","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-04-04T06:16:33.493Z","updated_at":"2025-04-04T06:16:34.220Z","avatar_url":"https://github.com/TACC.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Weekly Reporting metrics for the A2CPS program\nDocker container of Dash App to display A2CPS trial weekly reporting metrics.\n\nThis dashboard is intended for use by study personnel and others interested in the reasons why patients either complete or leave the trial.\n\n## Version History\n| Version   | Date | Description |\n| ------ | ------ | ------ |\n| 0.0.2 | 11/01/2021 | Update dashboard to use Screening sites for Screening tables. |\n| 0.0.1 | 05/18/2021 | Initial dashboard with portions of the data loaded into tables. |\n\n## Dashboard Description\n\nData from the A2CPS program is loaded via apis that provide information on both all screened patients and those who continue into the program.\n\nThis data is cleaned and transformed to create the tables as outlined in the Weekly Report document on Confluence.\n\n# Development Previews\n\nDevelopment previews are built upon commits to the master branch. If you wish to preview the latest\nbuild, you may use the `docker-compose.yml` file. On your local machine with Docker, run:\n\n```\ndocker-compose up --force-recreate\n```\n\nThen browse to `localhost:8050` in your web browser.\n\n# Automatic Container Build information from parent repository.\nThis repository was forked from the TACC [dash-container](https://github.com/TACC/dash-container) repo.  \n\n## Configuring your repository for automatic container builds (text from original repo)\n\n### Github Actions workflows\n\nThis repository comes with two Github Action workflows that automatically build Docker containers:\n\n- [build-pr](./github/workflows/build-pr) builds commit sha tagged\nimages upon pull requests\n- [build-main](./github/workflows/build-main) builds a commit sha tagged and `:latest` tagged image upon\npushes to main (such as when merging a pull request)\n\nBoth require specific Github repo configuration.\n\n### Setting up a Dockerhub token\n\nYou will need to create a token for the account that will be used to push your repo.\n\n- On [Dockerhub](https://hub.docker.com) go to your account's [security settings](https://hub.docker.com/settings/security).\n- Click the **New Access Token** button and type in a description\n- You will see a UUID value - this is your access token. Copy it immediately, as these can only\nbe read upon creation. You will not see this token again.\n\n### Setting up a Github Actions environment\n\nYou will need to create a build environment with secrets to contain Dockerhub settings.\n\n- In your Github repo, click on **Settings**. Then click on **Environments**\n- Click on the **New Environment** button and name this environment `docker`. (You can change the\n`environment` value in the workflows if you wish to call it something else or keep multiple environments)\n- At the bottom of the screen you will see **Environment Secrets**. Click the **Add Secret** button to create secrets.\n- Create a secret called `DOCKERHUB_TOKEN` and paste your Dockerhub token here\n- Create a secret called `DOCKERHUB_USERNAME` and put the name of the corresponding user here\n- Create a secret called `DOCKERHUB_REPO` and put your Docker repository name here. For example, this Github repo\nautobuilds images at `jchuahtacc/dash-container`, so that is the value that is used for `DOCKERHUB_REPO`.\n\n### Test it out\n\nUpon pull requests and pushes to main, you will see the workflows perform autobuilds. You can\nview the Action results by going to the **Actions** tag of your repo. You can also go to your [Dockerhub](https://hub.docker.com) page and make sure images are properly getting tagged and pushed\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftacc%2Fa2cps-weekly-dash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftacc%2Fa2cps-weekly-dash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftacc%2Fa2cps-weekly-dash/lists"}