{"id":19440555,"url":"https://github.com/devinit/data-hub-spotlights","last_synced_at":"2026-04-18T11:33:35.002Z","repository":{"id":38425369,"uuid":"223950557","full_name":"devinit/data-hub-spotlights","owner":"devinit","description":"Spotlight on Uganda - http://157.245.39.153/spotlight/spotlight-uganda \u0026 Spotlight on Kenya - http://157.245.39.153/spotlight/spotlight-kenya","archived":false,"fork":false,"pushed_at":"2023-03-07T01:02:35.000Z","size":25442,"stargazers_count":1,"open_issues_count":55,"forks_count":1,"subscribers_count":6,"default_branch":"develop","last_synced_at":"2025-02-25T07:30:45.366Z","etag":null,"topics":["data-visualization","kenya","poverty","spotlight","uganda"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/devinit.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":"2019-11-25T13:05:18.000Z","updated_at":"2024-12-16T09:47:48.000Z","dependencies_parsed_at":"2024-11-10T15:41:57.545Z","dependency_job_id":null,"html_url":"https://github.com/devinit/data-hub-spotlights","commit_stats":null,"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"purl":"pkg:github/devinit/data-hub-spotlights","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinit%2Fdata-hub-spotlights","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinit%2Fdata-hub-spotlights/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinit%2Fdata-hub-spotlights/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinit%2Fdata-hub-spotlights/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devinit","download_url":"https://codeload.github.com/devinit/data-hub-spotlights/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinit%2Fdata-hub-spotlights/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31967037,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"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":["data-visualization","kenya","poverty","spotlight","uganda"],"created_at":"2024-11-10T15:29:40.201Z","updated_at":"2026-04-18T11:33:34.982Z","avatar_url":"https://github.com/devinit.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Data Hub Spotlights\n\nContains re-designed spotlights on Uganda and Kenya, perhaps others\n\n## Development\n\n- Install dependencies with:\n\n      npm install\n\n- Create a `.env` file and add CMS_URL, setting it to the most updated version of the DI Website. Defaults to `http://devinit.org/`.\n  If the dependent spotlights code has not been pushed to the live website, defer to either the dev server `http://dev.devinit.org/` or your own local copy on the `develop` branch\n\n- When pointing to your local copy of the website, spotlight assets must be imported from the [DataHub CMS](https://github.com/devinit/datahub-cms) repo.\n  This requires two commands:\n\n          ./manage.py fetch_spotlight_data\n          ./manage.py import_spotlight_data\n\n  You must then login to the admin section and under a `Data` page, create a new SpotlightPage e.g Spotlight on Uganda, the choose the appropriate imported spotlight under the `Meta` section. You can check to see if all your data is coming through properly by pasting `[Your Website URL]/api/spotlights/page/[Spotlight Page Slug]/` in your browser.\n\n- Run dev environment with:\n\n      npm run dev\n\n- [At the Moment] Initial view is the playground. To view the spotlight page, go to `https://localhost:3000/spotlight/[SpotlightPage Slug]/`\n\n### Run application with docker\n\n- In the application's root directory run the following command to build an image:\n\n      docker build -t \u003cimage_name\u003e .\n\n  replace \u003cimage_name\u003e with any image name of choice\n\n- Run the app container basing on the image created above using:\n\n      docker run -p \u003chost_port\u003e:3000 --name \u003ccontainer_name\u003e -e CMS_URL=\"\u003chost_url\u003e\" \u003cimage_name\u003e\n\n  replace the:\n\n               \u003chost_port\u003e with any port value you wish to display the application\n\n               \u003ccontainer_name\u003e with a container name of your choice\n\n               \u003chost_url\u003e with the url of the server\n\n               \u003cimage_name\u003e with the name of the image you built in the previous step\n\n## CMS Documentation\n\nRead [here](/docs/README.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevinit%2Fdata-hub-spotlights","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevinit%2Fdata-hub-spotlights","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevinit%2Fdata-hub-spotlights/lists"}