{"id":15797398,"url":"https://github.com/devqueue/cgmdashwebapp","last_synced_at":"2026-04-26T12:32:56.005Z","repository":{"id":126913481,"uuid":"443970611","full_name":"devqueue/CGMdashwebapp","owner":"devqueue","description":"A dashboard application built with flask and plotly-dash to display metrics.","archived":false,"fork":false,"pushed_at":"2022-02-01T05:56:10.000Z","size":99,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-12T00:30:48.382Z","etag":null,"topics":["flask","plotly-dash"],"latest_commit_sha":null,"homepage":"https://cgmdashwebapp.herokuapp.com/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devqueue.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2022-01-03T07:05:30.000Z","updated_at":"2022-01-16T13:02:02.000Z","dependencies_parsed_at":"2023-06-18T21:54:45.175Z","dependency_job_id":null,"html_url":"https://github.com/devqueue/CGMdashwebapp","commit_stats":{"total_commits":57,"total_committers":2,"mean_commits":28.5,"dds":"0.052631578947368474","last_synced_commit":"2c1f81e43edba9d4a055902541bbef5b7708757c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devqueue/CGMdashwebapp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devqueue%2FCGMdashwebapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devqueue%2FCGMdashwebapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devqueue%2FCGMdashwebapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devqueue%2FCGMdashwebapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devqueue","download_url":"https://codeload.github.com/devqueue/CGMdashwebapp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devqueue%2FCGMdashwebapp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32297895,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T09:34:17.070Z","status":"ssl_error","status_checked_at":"2026-04-26T09:34:00.993Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["flask","plotly-dash"],"created_at":"2024-10-05T00:07:47.925Z","updated_at":"2026-04-26T12:32:55.989Z","avatar_url":"https://github.com/devqueue.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CGM-dashboard\nA Dashboard application built using flask and plotly-dash.\n\n## Configuring the data path:\nUse the `.env` to add an absolute path to the directory of files or you may export the path an environment variable `DATA_PATH` The app expects a directory and not a file. The directory must contain excel files only. either ending with `.xlsx` or `.xls`.\nThe `get_data_path()` function in `dataprocessor.py` is responsible for returning the folder path to each endpoint.\nIt returns the value of environment variable `DATA_PATH`.\n\n## Format for the data:\nThe app also expects the excel file to follow a certain format. The details of which have been mentioned below. Any deviation from this standard will cause a `runtimeError`\n- The summary data must be in the first 2 columns.\n- second column name must contain count (case insensitive)\n- File name should be id_CGM_month_year.xlsx\n- Oncomine, parental should be in order\n- count must include month name\n\n## Authentication for uploading files.\nThe app can connect to any local or remote database given that you specify the URI as an environment variable.\nThe `DATABASE_URI` must be specified using the standard convention \n```\n[DB_TYPE]+[DB_CONNECTOR]://[USERNAME]:[PASSWORD]@[HOST]:[PORT]/[DB_NAME]\n```\n\n## Deploying using mod_wsgi (Apache)\n1. Install the mod_wsgi:\n    ```\n    apt-get install libapache2-mod-wsgi-py3\n    ```\n2. Edit `app.wsgi`:\n    - Change the path for the vitual environment under `activate_this`\n    - Make sure it's a python file\n3. Edit `flaskapp.config`:\n    - Change the port, hostIP or domain, path, etc...\n4. Make sure to create a `logs` directory inside the main app directory","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevqueue%2Fcgmdashwebapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevqueue%2Fcgmdashwebapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevqueue%2Fcgmdashwebapp/lists"}