{"id":16930267,"url":"https://github.com/erfaniaa/starting-domjudge","last_synced_at":"2025-04-11T16:30:36.150Z","repository":{"id":81362085,"uuid":"230439011","full_name":"Erfaniaa/starting-domjudge","owner":"Erfaniaa","description":"A guide for starting DOMjudge using some helper Bash scripts","archived":false,"fork":false,"pushed_at":"2021-01-26T16:46:17.000Z","size":21,"stargazers_count":6,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-31T06:41:59.305Z","etag":null,"topics":["acm-icpc","competitive-programming","contest","domjudge","icpc","judge","sport-programming"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Erfaniaa.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":"2019-12-27T12:20:16.000Z","updated_at":"2024-06-09T05:05:03.000Z","dependencies_parsed_at":"2023-07-11T10:46:19.489Z","dependency_job_id":null,"html_url":"https://github.com/Erfaniaa/starting-domjudge","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erfaniaa%2Fstarting-domjudge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erfaniaa%2Fstarting-domjudge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erfaniaa%2Fstarting-domjudge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erfaniaa%2Fstarting-domjudge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Erfaniaa","download_url":"https://codeload.github.com/Erfaniaa/starting-domjudge/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223472809,"owners_count":17150745,"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":["acm-icpc","competitive-programming","contest","domjudge","icpc","judge","sport-programming"],"created_at":"2024-10-13T20:41:17.378Z","updated_at":"2024-11-07T07:04:53.411Z","avatar_url":"https://github.com/Erfaniaa.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Starting DOMjudge\nA simple guide for starting [DOMjudge](http://domjudge.org) using some helper Bash scripts\n\n## Initialization\n\n1. Clone this repository.\n2. Run ```chmod +x *.sh``` command.\n\n## Start server\n\n1. Run ```./config_user_and_grub.sh``` command.\n2. Restart your computer.\n3. You can modify *DOMJUDGE_VERSION* and *MARIADB_VERSION* variables in *config_docker.sh* file (according to the latest released versions). Also, you can leave them unchanged.\n4. Run ```./config_docker.sh``` command.\n5. You can modify *DOMJUDGE_VERSION*, *MYSQL_PASSWORD*, and *MYSQL_ROOT_PASSWORD* variables in *start_server.sh* file. Also, you can leave them unchanged.\n6. Run ```./start_server.sh``` command.\n7. Check [http://localhost:12345](http://localhost:12345) via your Web browser. You should see DOMjudge now!\n\n## Start workers\n\nSuppose there is a working server on a machine. It doesn't matter the worker and the server are on the same machine or not; you should start a server beside the worker.\n\n1. Run ```./config_user_and_grub.sh``` command.\n2. Restart your computer.\n3. You can modify *DOMJUDGE_VERSION* and *MARIADB_VERSION* variables in *config_docker.sh* file (according to the latest released versions). Also, you can leave them unchanged.\n4. Run ```./config_docker.sh``` command.\n5. You can modify *DOMJUDGE_VERSION*, *MYSQL_PASSWORD*, and *MYSQL_ROOT_PASSWORD* variables in *start_server.sh* file. Also, you can leave them unchanged.\n6. Run ```./start_server.sh``` command.\n7. Modify *DOMJUDGE_VERSION*, *SERVER_URL*, and *WORKER_PASSWORD* variables in *start_server.sh* file. The first one should be set to the URL of DOMjudge server, but the second one can have an arbitrary value.\n8. Run ```./start_worker.sh 0``` command.\n9. Now, a single worker (with ID 0) is up. You can start more concurrent workers on the same machine. For the next workers, just run ```./start_worker.sh 1```, ```./start_worker.sh 2``` and so on. The maximum number of workers equals the number of your machine CPU cores.\n\n## Notes\n\nIf you get an error like \"You have to remove (or rename) that container to be able to reuse that name.\", remove those conflicting containers using ```docker stop``` and ```docker rm``` commands with the given IDs. ```sudo``` may be needed as well.\n\n## See also\n\n- [domjudge/domserver - Docker Hub](https://hub.docker.com/r/domjudge/domserver)\n- [domjudge/judgehost - Docker Hub](https://hub.docker.com/r/domjudge/judgehost)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferfaniaa%2Fstarting-domjudge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferfaniaa%2Fstarting-domjudge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferfaniaa%2Fstarting-domjudge/lists"}