{"id":31845071,"url":"https://github.com/horizonsrc/dam-dash","last_synced_at":"2025-10-12T07:57:05.572Z","repository":{"id":223367174,"uuid":"759551116","full_name":"HorizonsRC/dam-dash","owner":"HorizonsRC","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-18T01:58:53.000Z","size":282,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-18T02:43:23.643Z","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/HorizonsRC.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}},"created_at":"2024-02-18T21:48:52.000Z","updated_at":"2024-11-18T01:58:57.000Z","dependencies_parsed_at":"2024-09-10T00:27:49.413Z","dependency_job_id":"afb6b41c-538f-40ab-b656-7116f32beb6c","html_url":"https://github.com/HorizonsRC/dam-dash","commit_stats":null,"previous_names":["horizonsrc/dam-dash"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HorizonsRC/dam-dash","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HorizonsRC%2Fdam-dash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HorizonsRC%2Fdam-dash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HorizonsRC%2Fdam-dash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HorizonsRC%2Fdam-dash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HorizonsRC","download_url":"https://codeload.github.com/HorizonsRC/dam-dash/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HorizonsRC%2Fdam-dash/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279010671,"owners_count":26084785,"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-10-12T02:00:06.719Z","response_time":53,"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-10-12T07:56:56.948Z","updated_at":"2025-10-12T07:57:05.567Z","avatar_url":"https://github.com/HorizonsRC.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dam Dash\n\nPlotly Dash (Flask) web app for looking at some dam levels.\n\n## How to deploy on a windows server using IIS\n\nIf you're unfortunate enough to have to deploy a Dash app on a Windows server, here's how you can do it.\n\n### Clone the repo.\nFirst you need to put the file where IIS can see it. I find it easiest to put it in the `wwwroot` folder. This is usually located in `C:\\inetpub\\wwwroot`. In my case I wasn't able to clone the repository directly into the `wwwroot` folder because I didn't have the permissions to do so. So I cloned the repository into a different folder and then copied the files into the `wwwroot` folder.\n\nOnce you have your files in the `wwwroot` folder, we need to tell IIS how  to run this app. We do that by making a file called `web.config` in the root of the app. The `web.config` file should look something like this:\n\n```xml\n\n```\n\n### Install Python and the required packages.\nAssuming you have the necessary permissions, you can install Python. I used Python 3.12, but anything later than 3.6 should work. You can download Python from the [official website](https://www.python.org/downloads/).\n\n### Create the virtual environment.\nWe need to create a virtual environment for the app to run in. You can do this by running the following command in the command prompt:\n```bash\npython3 -m venv /path/to/venv\n```\n\nYou can activate the virtual environment by running the following command:\n```bash\nsource /path/to/venv/Scripts/activate\n```\n\n### Install the required packages.\nWith an activated venv you can install the required packages by running the following command:\n```bash\npip install -r requirements.txt\n```\n\n## Now on the IIS side of things.\nFor the most part I used this guide to set all of this up: https://medium.com/@b-nouri/how-to-deploy-your-dash-app-on-iis-windows-server-98a16b8707e1\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhorizonsrc%2Fdam-dash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhorizonsrc%2Fdam-dash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhorizonsrc%2Fdam-dash/lists"}