Coder Social home page Coder Social logo

domjudge-by-docker's Introduction

Domjudge by Docker

This is a note written to make it easier to deploy Domjudge.

  1. Install Docker as well as Docker-Compose to your server.

  2. Upload docker-compose.yml to the server.

  3. Replace all the $variable with proper value. Notice that the same $variable should have the same value. You can leave those in cds to be modified later.

  4. Run docker compose up -d mariadb domserver.

  5. Get the admin password and restapi key. They are in /opt/domjudge/domserver/etc/ in domserver container, initial_admin_password.secret and restapi.secret respectively.

  6. Edit docker-compose.yml, replace all $restapi_key with the restapi key in the previous step.

  7. Login to the admin account, create cds account and contest for test. Then edit the $variable in cds.

  8. Edit accounts.yaml. It's accounts in cds.

  9. Execute docker compose up -d to run all containers.

Tips

  1. Check the Config checker in Domjudge.

  2. Cds is running observing exactly one contest. If you create a new contest, please modify or add one cds container.

  3. If you can't connect your printer to the server, check the print folder.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.