{"id":17026343,"url":"https://github.com/st3v3nmw/elixir-backend","last_synced_at":"2025-07-04T13:34:21.469Z","repository":{"id":106922787,"uuid":"417796731","full_name":"st3v3nmw/elixir-backend","owner":"st3v3nmw","description":"Backend for a distributed electronic health records system","archived":false,"fork":false,"pushed_at":"2023-10-15T09:05:15.000Z","size":5537,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T18:40:48.263Z","etag":null,"topics":["ehr","electronic-health-records","electronic-medical-records","emr","personal-health-record","single-sign-on"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/st3v3nmw.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":"2021-10-16T10:42:22.000Z","updated_at":"2024-12-15T08:35:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"9bfc99cb-2b46-45d5-8717-9f781a9d43cf","html_url":"https://github.com/st3v3nmw/elixir-backend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/st3v3nmw/elixir-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/st3v3nmw%2Felixir-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/st3v3nmw%2Felixir-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/st3v3nmw%2Felixir-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/st3v3nmw%2Felixir-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/st3v3nmw","download_url":"https://codeload.github.com/st3v3nmw/elixir-backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/st3v3nmw%2Felixir-backend/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263550755,"owners_count":23478866,"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":["ehr","electronic-health-records","electronic-medical-records","emr","personal-health-record","single-sign-on"],"created_at":"2024-10-14T07:31:57.618Z","updated_at":"2025-07-04T13:34:21.450Z","avatar_url":"https://github.com/st3v3nmw.png","language":"Python","readme":"# Elixir Backend\n\nThe frontend's [here](https://github.com/st3v3nmw/elixir-frontend).\n\n## Setup\n\n1. Fresh install?, run `scripts/setup.sh` to install the required packages like Docker.\n2. Deploy/build docker container\n3. Run `python manage.py migrate`.\n4. `python manage.py runscript populate_coding_tables`\n5. Get into `web` container, \n6. In the container, run the following commands to generate JWT keys:\n    1. `ssh-keygen -t rsa -P \"\" -b 4096 -m PEM -f jwtRS384.key`\n    2. `ssh-keygen -e -m PEM -f jwtRS384.key \u003e jwtRS384.key.pub`\n\n## Deploying to Remote\n\n1. Setup passwordless SSH on remote.\n2. On the remote machine, run the `scripts/setup.sh` script (if 1st deploy).\n3. Create context for remote: `docker context create remote --docker \"host=ssh://user@ip\"`\n4. Change docker context: `docker context use remote`\n5. Deploy: `COMPOSE_DOCKER_CLI_BUILD=0 docker-compose up -d --build`\n6. Confirm that containers are up \u0026 running: `docker ps` (`docker-compose logs -f` to check logs)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fst3v3nmw%2Felixir-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fst3v3nmw%2Felixir-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fst3v3nmw%2Felixir-backend/lists"}