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.
Before we begin, make sure you have the following installed on your system:
Open XAMMP and start the Apache and MySQL services.
Create a new folder inside the htdocs
folder of XAMPP named domjudge
.
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.git
Once the cloning process is complete, navigate to the domjudge
folder using the cd
(change directory) command in your Command Prompt or Windows PowerShell.
cd domjudge
Install the dependencies for DOMJudge using Node.js by running the following command:
npm install
Copy the config.ini.example
file by running the following command:
copy config.ini.example config.ini
Open the config.ini
file using a text editor such as Notepad.
Inside the config.ini
file, scroll down to the [database]
section and make the following changes:
[database]
host = localhost
username = root
password =
name = domjudge
Now, open the bin
folder inside the domjudge
folder and double-click on the import-problems.cmd
file.
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: admin
Congratulations! You have successfully installed DOMJudge on your Windows 11 system. You can now create and manage programming contests.
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.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!