{"id":38209146,"url":"https://github.com/pbijdens/centaur-scores-ui","last_synced_at":"2026-01-17T00:40:48.107Z","repository":{"id":225625749,"uuid":"766222736","full_name":"pbijdens/centaur-scores-ui","owner":"pbijdens","description":"Management front-end for the centaur-scores API. Created using angular.","archived":false,"fork":false,"pushed_at":"2025-10-29T22:30:19.000Z","size":811,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-30T00:23:27.012Z","etag":null,"topics":["angular","centaur-scores","tailwind"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/pbijdens.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-03-02T17:08:52.000Z","updated_at":"2025-10-29T22:29:50.000Z","dependencies_parsed_at":"2025-02-10T12:23:09.610Z","dependency_job_id":"30e492c0-5c92-47f5-89fc-a83fb63b0d9e","html_url":"https://github.com/pbijdens/centaur-scores-ui","commit_stats":null,"previous_names":["pbijdens/centaur-scores-ui"],"tags_count":45,"template":false,"template_full_name":null,"purl":"pkg:github/pbijdens/centaur-scores-ui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pbijdens%2Fcentaur-scores-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pbijdens%2Fcentaur-scores-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pbijdens%2Fcentaur-scores-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pbijdens%2Fcentaur-scores-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pbijdens","download_url":"https://codeload.github.com/pbijdens/centaur-scores-ui/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pbijdens%2Fcentaur-scores-ui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28490417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T23:55:29.509Z","status":"ssl_error","status_checked_at":"2026-01-16T23:55:29.108Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["angular","centaur-scores","tailwind"],"created_at":"2026-01-17T00:40:47.037Z","updated_at":"2026-01-17T00:40:48.098Z","avatar_url":"https://github.com/pbijdens.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Installation steps for the Centaur Scores UI\n\n## Requirements\n\n- Apache2 with mod rewrite\n- A running 'CentaurScores API' server on port 8062 on the same host that this service runs on.\n  *curently hardcoded, will probably put this in a settings json file*\n- The API server requires MySQL and .NET 8 runtimes; it has its own installation instructions.\n\n## Create a release\n\nTo create a release:\n\n```sh\nnpm run build-cs\n```\n\nThen copy the contents of the ```dist/centaur-scores-ui/browser/``` folder to your apache2 server, e.g. in ```/var/www/centaurscoresui```.\n\n## First install\n\nAssuming you already installed the API server and copied the ```dist/centaur-scores-ui/browser/``` folder contents into ```/var/www/centaurscoresui```:\n\nCreate a file ```/etc/apache2/conf-available/centaurscores.conf``` with these contents:\n\n```conf\n\u003cIfModule alias_module\u003e\n    Alias /cs /var/www/centaurscoresui\n    Alias /assets /var/www/centaurscoresui/assets\n\u003c/IfModule\u003e\n\n\u003cDirectory \"/var/www/centaurscoresui\"\u003e\n\u003cIfModule mod_rewrite.c\u003e\n  RewriteEngine On\n  RewriteBase /cs\n  RewriteRule ^index\\.html$ - [L]\n  RewriteCond %{REQUEST_FILENAME} !-f\n  RewriteCond %{REQUEST_FILENAME} !-d\n  RewriteCond %{REQUEST_FILENAME} !-l\n  RewriteRule . index.html [L]\n\u003c/IfModule\u003e\n\u003c/Directory\u003e\n\n\u003cLocation \"/cs/\"\u003e\n    Require all granted\n\u003c/Location\u003e\n\u003cLocation \"/assets/\"\u003e\n    Require all granted\n\u003c/Location\u003e\n```\n\nThe rewrite engine configuration is required because of angular's internal routing, where for most routes no target file exists. All those routes are internally redirected to the index file.\n\nThen run these commands to enable the rewrite module, enable above configuration file and restart apache2.\n\n```\nsudo a2enmod rewrite\nsudo a2enconf centaurscores\nsudo apache2ctl restart\n```\n\nYou should now be able to reach the UI at http://\u003cyour-ip\u003e/cs\n\nYou can map assets to any folder so you can start overriding configurations and logos.\n\n## Scripts\n\nUse this script to install a new version of this centaur scores UI\n\n```bash\n#!/bin/bash\nnpm install\nnpm run build-cs\ncp -R dist/centaur-scores-ui/browser/* /var/www/centaurscoresui/\n```\n\nUse this script to install a new version of the backend; run this from the ```centaur-scores-api/CentaurScores``` project-folder:\n\n```bash\n#!/bin/bash\nsudo systemctl stop centaurscoresapi\ndotnet publish -o /var/www/centaurscoresapi\nsudo systemctl start centaurscoresapi\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpbijdens%2Fcentaur-scores-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpbijdens%2Fcentaur-scores-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpbijdens%2Fcentaur-scores-ui/lists"}