How to Install DOMJudge on Windows 11
DOMJudge is a web-based judging system for programming contests. It is often used in universities and programming competitions. In this tutorial, we will show you how to install DOMJudge on Windows 11.
Prerequisites
Before we begin, make sure you have the following installed on your system:
Steps to Install DOMJudge on Windows 11
Open XAMMP and start the Apache and MySQL services.
Create a new folder inside the
htdocsfolder of XAMPP nameddomjudge.Open the Windows PowerShell or Command Prompt.
Clone the DOMJudge repository from GitHub by running the following command:
git clone https://github.com/DOMjudge/domjudge.gitOnce the cloning process is complete, navigate to the
domjudgefolder using thecd(change directory) command in your Command Prompt or Windows PowerShell.cd domjudgeInstall the dependencies for DOMJudge using Node.js by running the following command:
npm installCopy the
config.ini.examplefile by running the following command:copy config.ini.example config.iniOpen the
config.inifile using a text editor such as Notepad.Inside the
config.inifile, scroll down to the[database]section and make the following changes:[database] host = localhost username = root password = name = domjudgeNow, open the
binfolder inside thedomjudgefolder and double-click on theimport-problems.cmdfile.Wait for the console window to finish executing the script. It may take a few minutes.
Once the script has finished executing, navigate to
http://localhost/domjudge/in your web browser.Login to DOMJudge using the following credentials:
username: admin password: adminCongratulations! You have successfully installed DOMJudge on your Windows 11 system. You can now create and manage programming contests.
Conclusion
DOMJudge is a powerful tool for running programming contests in universities and other institutions. By following this tutorial, you have learned how to install DOMJudge on a Windows 11 system using XAMPP, Git, and Node.js.