{"id":19310162,"url":"https://github.com/cedadev/mip-dr-app","last_synced_at":"2025-07-20T12:06:27.744Z","repository":{"id":66788795,"uuid":"543187783","full_name":"cedadev/mip-dr-app","owner":"cedadev","description":"Web application and tools for the MIP Data Request","archived":false,"fork":false,"pushed_at":"2024-10-08T13:14:50.000Z","size":3656,"stargazers_count":1,"open_issues_count":11,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-06-09T13:04:57.550Z","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":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cedadev.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-09-29T15:14:05.000Z","updated_at":"2024-10-04T14:00:07.000Z","dependencies_parsed_at":"2024-11-10T00:23:14.692Z","dependency_job_id":"d8f8190b-c67a-4d99-8985-fdfad43b913f","html_url":"https://github.com/cedadev/mip-dr-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cedadev/mip-dr-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedadev%2Fmip-dr-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedadev%2Fmip-dr-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedadev%2Fmip-dr-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedadev%2Fmip-dr-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cedadev","download_url":"https://codeload.github.com/cedadev/mip-dr-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedadev%2Fmip-dr-app/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266120502,"owners_count":23879334,"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":"2024-11-10T00:22:57.409Z","updated_at":"2025-07-20T12:06:27.691Z","avatar_url":"https://github.com/cedadev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mip-dr-app\nPrototype django MIP Data Request app and tools\n\n## Setting up the app\n\nClone the repo:\n\n```\ngit clone https://github.com/cedadev/mip-dr-app\ncd mip-dr-app/\n```\n\nInstall the requirements:\n\n```\npip install -r requirements.txt\n```\n\nSet environment variable(s):\n\n```\nexport PYTHONPATH=$PWD/.\nexport DJANGO_SETTINGS_MODULE=mip_dr_app.settings\n```\n\n## Populating the contents from the Data Request XML\n\n```\ncd scripts/\ndjango-admin makemigrations mip_dr_app_api\ndjango-admin migrate\n\npython generate_import_data_script.py\npython import_data.py\n```\n\n## Create an Admin User Account\n\n```\npython manage.py createsuperuser\n```\n\nThen follow the on screen prompts and enter the required details\n\n## Running the server\n\n```\ndjango-admin runserver localhost:8888\n# Or: 0.0.0.0:8888 (if running on a private network on a vagrant VM)\n```\n\nView at: http://localhost:8888\n\nE.g.:\n\n```\n$ curl http://localhost:8888\n```\n\n## Importing Data\n\nIt is possible to update the data by importing a file:\n- Go to the admin page, e.g. `http://localhost:8888/admin/` and login with your admin credentials  \n- Select the required table to upload data to\n- Press the `IMPORT` button near the top right of the page\n- Choose a file to import and press the `SUBMIT` button\n- Check the data in the preview panel is correct\n- Press the `CONFIRM IMPORT` button\n\nThe file to be uploaded must be in one of the following formats:\n- csv\n- xls\n- xlsx\n- tsv\n- json\n- ymal\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcedadev%2Fmip-dr-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcedadev%2Fmip-dr-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcedadev%2Fmip-dr-app/lists"}