{"id":25648581,"url":"https://github.com/stats4sd/holpa-platform","last_synced_at":"2025-10-28T05:37:36.144Z","repository":{"id":258099389,"uuid":"854528439","full_name":"stats4sd/holpa-platform","owner":"stats4sd","description":"Data Platform for the HOLPA tool","archived":false,"fork":false,"pushed_at":"2025-02-20T13:00:50.000Z","size":12884,"stargazers_count":0,"open_issues_count":29,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-02-20T14:21:31.603Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/stats4sd.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-09-09T10:40:12.000Z","updated_at":"2025-02-20T13:00:51.000Z","dependencies_parsed_at":"2024-11-06T14:30:58.285Z","dependency_job_id":"3af66e1d-cce4-4ffe-8511-524eb81a83b2","html_url":"https://github.com/stats4sd/holpa-platform","commit_stats":null,"previous_names":["stats4sd/holpa-platform"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stats4sd%2Fholpa-platform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stats4sd%2Fholpa-platform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stats4sd%2Fholpa-platform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stats4sd%2Fholpa-platform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stats4sd","download_url":"https://codeload.github.com/stats4sd/holpa-platform/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240317440,"owners_count":19782390,"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-02-23T13:15:29.708Z","updated_at":"2025-10-28T05:37:36.133Z","avatar_url":"https://github.com/stats4sd.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HOLPA Platform\n\n## Setup\n\n- clone this repo\n- inside the cloned repo folder, run:\n  - `composer install`\n  - `npm install`\n- create your local .env file:\n  - `cp .env.example .env`\n  - update the DB_* variables, the APP_URL variables. \n  - make sure the ODK_* variables are set so the system can connect to an ODK Central server.\n\n## Development\n\nThere are 3 ways to set up your environment for local development. The intention is that, at any time, you can reset your local database and environment to one of these 3 pre-configured setups:\n\n### Default; no specific ODK Database Link\n\nThis setup will give you a clean database, with 3 teams (linked to new ODK Central projects, if you have the `ODK_*` .env variables required ), and no XlsformTemplate entries. \n\nTo create: \n- `php artisan migrate:fresh --seed`.\n\n\n### Setup with Mini Test Forms\n\nThis setup will give you 3 teams, all linked to the following ODK Projects on our ODK Staging site: \n\n- 2025 - HOLPA Data Platform LOCAL- P1 Test Team: https://odk-test.stats4sdtest.online/#/projects/1447\n- 2025-HOLPA Data Platform LOCAL- P1 Test Team 2: https://odk-test.stats4sdtest.online/#/projects/1448\n- 2025-TEST - HOLPA Data Platform LOCAL- Non Program Test Team: https://odk-test.stats4sdtest.online/#/projects/1449\n\nEach team has 2 \"mini\" forms, which have the required parts to be compatible with the existing HOLPA localisation setup, and very little else. \n\nTo create:\n\n1. Make sure you have `ODK_PLATFORM_PROJECT_ID=1390` in your .env file. \n2. Run the following:\n\n```\n\nphp artisan migrate:fresh --seed\nphp artisan db:seed TestWithMiniForms\n\n# run custom script to copy the media file assets into the storage/app folder\nphp artisan app:copy-media-test\n\n# run custom command to update your xlsform_versions table, \n# just in case the versions on ODK Central have been changed since the seeder was created.\nphp artisan app:update-xlsform-versions-from-odk-central\n```\n\n### Setup with Real HOLPA Forms\n\nThis setup will give you 3 teams, all linked to the following ODK Projects on our ODK Staging site: \n\n- HOLPA Real Forms - Local Test Team 1: https://odk-test.stats4sdtest.online/#/projects/2728\n- HOLPA Real Forms - Local Test Team 2 : https://odk-test.stats4sdtest.online/#/projects/2729\n- HOLPA Real Forms - Local Non-Program Test Team: https://odk-test.stats4sdtest.online/#/projects/2730\n\nEach team has copies of the 2 real HOLPA forms, which have the required parts to be compatible with the existing HOLPA localisation setup, and very little else. \n\nTo create:\n\n1. Make sure you have `ODK_PLATFORM_PROJECT_ID=1654` in your .env file. \n2. Run the following:\n\n```\nphp artisan migrate:fresh --seed\nphp artisan db:seed TestWithRealForms\n\n# run custom script to copy the media file assets into the storage/app folder\nphp artisan app:copy-media-real\n\n# run custom command to update your xlsform_versions table, \n# just in case the versions on ODK Central have been changed since the seeder was created.\nphp artisan app:update-xlsform-versions-from-odk-central\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstats4sd%2Fholpa-platform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstats4sd%2Fholpa-platform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstats4sd%2Fholpa-platform/lists"}