{"id":43716422,"url":"https://github.com/khanlab/autobids-portal","last_synced_at":"2026-02-05T07:32:59.842Z","repository":{"id":194411168,"uuid":"364411002","full_name":"khanlab/autobids-portal","owner":"khanlab","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-26T17:21:13.000Z","size":11958,"stargazers_count":0,"open_issues_count":13,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-06-26T21:41:47.661Z","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/khanlab.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":"2021-05-04T23:20:36.000Z","updated_at":"2024-06-26T21:41:52.954Z","dependencies_parsed_at":"2023-09-13T07:24:25.269Z","dependency_job_id":"f24edf47-bbae-4918-b38d-041e88e1d3f7","html_url":"https://github.com/khanlab/autobids-portal","commit_stats":null,"previous_names":["khanlab/autobids-newstudy-app","khanlab/autobids-portal"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/khanlab/autobids-portal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khanlab%2Fautobids-portal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khanlab%2Fautobids-portal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khanlab%2Fautobids-portal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khanlab%2Fautobids-portal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khanlab","download_url":"https://codeload.github.com/khanlab/autobids-portal/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khanlab%2Fautobids-portal/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29115573,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T05:31:32.482Z","status":"ssl_error","status_checked_at":"2026-02-05T05:31:29.075Z","response_time":65,"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":[],"created_at":"2026-02-05T07:32:59.283Z","updated_at":"2026-02-05T07:32:59.836Z","avatar_url":"https://github.com/khanlab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Autobids Portal\n\nThis is a webapp for interacting with the autobids system.\n\n# Setup\n\n## Non-python requirements\n\nTo use all functionality, you will need:\n\n- Apptainer, with the following images:\n  - docker://khanlab/tar2bids\n  - docker://khanlab/cfmm2tar\n  - docker://khanlab/gradcorrect (along with a private coefficients file)\n- A mail server compatible with Flask-Mail.\n- A redis server.\n- A PostgreSQL server.\n- A git repository containing custom heuristics.\n\n## Installation instructions\n\n1. Set up a virtual environment.\n2. `pip install -e .`, or `poetry install` if your environment has poetry.\n3. Adjust your configuration by making a copy of `.envtemplate` and changing any relevant variables.\n4. Export all necessary environment variables (`set -a \u0026\u0026 . .env \u0026\u0026 set +a` does the job if you keep them in a `.env` file).\n5. Set up the db: `flask db upgrade`.\n\n# Running the application\n\n## Local/Development\n\nThe easiest way to get a local development system running is to use docker compose.\n\n1. `docker-compose up --build`\n2. The first time and after any DB model changes, run your migrations by sshing into the `autobidsportal` container (`docker -it exec {container_id} /bin/bash`) and running `flask db upgrade`.\n3. The ssh setup for archiving between containers in docker-compose can be a little finnicky. If those steps fail, this is a first place to look. Usually sshing into the relevant containers and running `ssh-keyscan` and friends can help resolve this.\n\n## Production\n\n- A [production server](https://flask.palletsprojects.com/en/2.0.x/deploying/) (i.e. not the Flask development server invoked with `flask run`) should be used to serve the autobids portal.\n- A [service manager](https://python-rq.org/patterns/) should also be used to manage the rq workers that execute asynchronous tasks.\n- The operational CLI commands (i.e. `flask check_pis`, `flask run-all-cfmm2tar`, etc.) should be run on a regular basis: See `crontab.example` for an example of how this can be configured.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhanlab%2Fautobids-portal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhanlab%2Fautobids-portal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhanlab%2Fautobids-portal/lists"}