{"id":36617807,"url":"https://github.com/hwesselmann/ranking-info","last_synced_at":"2026-05-06T09:02:01.676Z","repository":{"id":40007117,"uuid":"253183782","full_name":"hwesselmann/ranking-info","owner":"hwesselmann","description":"A small web-app to help browse and analyze the German Tennis youth rankings.","archived":false,"fork":false,"pushed_at":"2026-01-09T09:56:43.000Z","size":1674,"stargazers_count":0,"open_issues_count":13,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-12T16:56:37.811Z","etag":null,"topics":["rails","ruby","tennis"],"latest_commit_sha":null,"homepage":"https://www.ranking-info.net","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hwesselmann.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-04-05T07:58:58.000Z","updated_at":"2026-01-09T09:40:27.000Z","dependencies_parsed_at":"2024-04-05T20:38:21.755Z","dependency_job_id":null,"html_url":"https://github.com/hwesselmann/ranking-info","commit_stats":null,"previous_names":["hwesselmann/ranking-info"],"tags_count":47,"template":false,"template_full_name":null,"purl":"pkg:github/hwesselmann/ranking-info","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hwesselmann%2Franking-info","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hwesselmann%2Franking-info/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hwesselmann%2Franking-info/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hwesselmann%2Franking-info/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hwesselmann","download_url":"https://codeload.github.com/hwesselmann/ranking-info/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hwesselmann%2Franking-info/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28442251,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T00:55:22.719Z","status":"online","status_checked_at":"2026-01-15T02:00:08.019Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["rails","ruby","tennis"],"created_at":"2026-01-12T09:14:54.580Z","updated_at":"2026-05-06T09:02:01.668Z","avatar_url":"https://github.com/hwesselmann.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ranking-info  \n\n![Main](https://github.com/hwesselmann/ranking-info/workflows/Test/badge.svg)\n\nThis is a small web-application aiming at providing accessible information on the German national tennis youth rankings.\n\n## Prerequisites  \n\nThis application is developed using\n\n* Ruby 4.0.3\n* Rails 8.1.3\n* Node.js 22 (for asset compilation)\n* SQLite3 (for development and test)\n* PostgreSQL (for production)\n* Bundler (Ruby gem management)\n* Yarn (JavaScript package management)\n\n## Setup  \n\nTo set up a development environment, run the following steps before starting the server:\n\n```bash\n# Install Ruby gems\nbundle install\n\n# Install JavaScript packages (also copies FontAwesome webfonts)\nyarn install\n\n# Run database migrations\nbin/rails db:migrate\n\n# Build JavaScript and CSS assets\nyarn build\nyarn build:css\n```\n\nThen start the development server:\n\n```bash\nbin/rails server\n```\n\nTo automatically rebuild assets on changes, run the following in separate terminals alongside the server:\n\n```bash\nyarn build --watch\nyarn build:css --watch\n```\n\n## Tests\n\nTo run the test suite:\n\n```bash\nbin/rails test\n```\n\nThe project also includes Guard for running tests automatically on code changes. Start it from the project folder with:\n\n```bash\nguard\n```\n\n## Import file format  \n\nTo import data into the system, create a CSV file from the official ranking list PDF using a tool like Tabula. The file must be in the format:\n\n\u003e ranking-position, lastname, firstname, nationality, dtb_id, federation, club, score\n\nThis is the default column order Tabula produces. An example file can be found in `test/fixtures/files`.\n\n## Importing data / login credentials  \n\nAccess to the CSV upload functionality is restricted to registered users. To create an admin user:\n\n1. Ensure the database is up to date: `bin/rails db:migrate`\n2. Open a Rails console: `bin/rails console`\n3. Create a user:\n   ```ruby\n   User.create(name: 'Example User', email: 'user@example.com', password: 'password', password_confirmation: 'password')\n   ```\n\nThe password must be at least 6 characters.\n\n## Deploy  \n\n### Docker\n\nThe project includes a Dockerfile and a docker-compose configuration for a production environment. Adapt `docker-compose.yml` to your needs, build the image, then start the stack:\n\n```bash\nDATABASE_PASSWORD=your_password docker-compose up\n```\n\nAfter the stack is running, run database migrations and create an admin user (see above).\n\nThe application is then available at `http://127.0.0.1:3000`.\n\n### Standalone\n\nSet the following environment variables to populate the imprint on the about page (or hardcode them in `config/config.yml`):\n\n| Variable | Description |\n|---|---|\n| `DOMAIN` | Domain the application is deployed to |\n| `IMPRINT_NAME` | Name for the imprint |\n| `IMPRINT_STREET` | Street and street number for the imprint |\n| `IMPRINT_ZIPCODE` | Zip code for the imprint |\n| `IMPRINT_CITY` | City for the imprint |\n| `IMPRINT_PHONE` | Phone number for the imprint |\n| `IMPRINT_MAIL` | Email address for the imprint |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhwesselmann%2Franking-info","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhwesselmann%2Franking-info","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhwesselmann%2Franking-info/lists"}