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

  1. Open XAMMP and start the Apache and MySQL services.

  2. Create a new folder inside the htdocs folder of XAMPP named domjudge.

  3. Open the Windows PowerShell or Command Prompt.

  4. Clone the DOMJudge repository from GitHub by running the following command:

    git clone https://github.com/DOMjudge/domjudge.git
    
  5. 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
    
  6. Install the dependencies for DOMJudge using Node.js by running the following command:

    npm install
    
  7. Copy the config.ini.example file by running the following command:

    copy config.ini.example config.ini
    
  8. Open the config.ini file using a text editor such as Notepad.

  9. Inside the config.ini file, scroll down to the [database] section and make the following changes:

    [database]
    host = localhost
    username = root
    password = 
    name = domjudge
    
  10. Now, open the bin folder inside the domjudge folder and double-click on the import-problems.cmd file.

  11. Wait for the console window to finish executing the script. It may take a few minutes.

  12. Once the script has finished executing, navigate to http://localhost/domjudge/ in your web browser.

  13. Login to DOMJudge using the following credentials:

    username: admin
    password: admin
    
  14. Congratulations! 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.

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!