{"id":13721346,"url":"https://github.com/rubenvanerk/lifesavingrankings","last_synced_at":"2025-05-07T13:32:22.008Z","repository":{"id":40730585,"uuid":"117429289","full_name":"rubenvanerk/lifesavingrankings","owner":"rubenvanerk","description":"Lifesaving Rankings tracks results for lifesaving pool competitions","archived":true,"fork":false,"pushed_at":"2023-01-07T04:27:11.000Z","size":41282,"stargazers_count":1,"open_issues_count":13,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-06T06:50:15.037Z","etag":null,"topics":["lifesaving","rankings"],"latest_commit_sha":null,"homepage":"https://www.lifesavingrankings.com/","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/rubenvanerk.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}},"created_at":"2018-01-14T12:45:17.000Z","updated_at":"2024-06-04T07:33:05.000Z","dependencies_parsed_at":"2023-02-06T11:46:37.859Z","dependency_job_id":null,"html_url":"https://github.com/rubenvanerk/lifesavingrankings","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubenvanerk%2Flifesavingrankings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubenvanerk%2Flifesavingrankings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubenvanerk%2Flifesavingrankings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubenvanerk%2Flifesavingrankings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rubenvanerk","download_url":"https://codeload.github.com/rubenvanerk/lifesavingrankings/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252886707,"owners_count":21819758,"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":["lifesaving","rankings"],"created_at":"2024-08-03T01:01:15.817Z","updated_at":"2025-05-07T13:32:21.339Z","avatar_url":"https://github.com/rubenvanerk.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":["Django"],"readme":"# lifesavingrankings\r\n\r\nLifesaving Rankings tracks results for lifesaving pool competitions\r\n\r\nRelies on [lifesavingrankings-parser](https://github.com/rubenvanerk/lifesavingrankings-parser) to get the data.\r\n\r\nLifesaving Rankings has two main parts: rankings and analysis\r\n\r\n## Rankings\r\nRankings is the representation of the database in understandable and browsable format. Users can view competitions, events or athletes with their associated results.\r\n\r\n## Analysis\r\nIn Analysis users can create groups of athletes. These groups get analysed on two fronts: individual and relay analysis. \r\nIn individual analysis the personal bests of each athlete are compared a set time, which is usually the 16th time of the previous World Championships.\r\nIn relay analysis all possible combinations of 6 (maximum team size on world/european championships) are generated. For each of this generated team, every possible combination and the total time on the relays is calculated and recorded. These times are added up for each possible team and possible teams are ordered on this added up times\r\n\r\n## Setup\r\n\r\n### Prerequisites\r\n\r\nThis project uses Pipenv, make sure [you have it installed](https://pipenv.pypa.io/en/latest/install/).\r\n\r\n### Installation\r\n\r\n- Create a Postgresql database\r\n- Execute `CREATE EXTENSION unaccent;` in your database\r\n- Copy `.env.example` to `.env`\r\n- Edit the environment variables to your situation\r\n- Run `pipenv install`\r\n- Run `pipenv shell`\r\n- Run `npm install` in `lifesaving_rankings/static`\r\n- Run `gulp build` in `lifesaving_rankings/static`\r\n- Run `python manage.py migrate`\r\n- Run `python manage.py loaddata rankings`\r\n- Run `python manage.py runserver`\r\n\r\nTo create a new superuser for `/admin` run: `python manage.py createsuperuser`\r\n\r\n## Production\r\n- `zappa update production`\r\n- `zappa manage production \"collectstatic --noinput\"`\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubenvanerk%2Flifesavingrankings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frubenvanerk%2Flifesavingrankings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubenvanerk%2Flifesavingrankings/lists"}