Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 1.58 KB

README.en.md

File metadata and controls

44 lines (28 loc) · 1.58 KB

简体中文 | English

Environmental preparation (Linux)

  • System: CentOS 8.2
  1. Install the necessary dependencies

    pip3 install --upgrade pip
    pip install docker-compose
  2. Install Docker

    yum install -y yum-utils
    yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
    yum install docker-ce docker-ce-cli containerd.io

    Other installation methods: https://docs.docker.com/install/

Install

  1. Please select a location with some surplus disk space and run the following command:

    git clone -b 2.0 https://github.com/illusson/OnlineJudgeDeploy.git && cd OnlineJudgeDeploy
  2. Start service

    docker-compose up -d

According to the network speed, the setup can be completed automatically in about 5 to 30 minutes without manual intervention.

Wait for the command execution to complete, and then run docker ps -a. When you see that the status of all the containers does not have unhealthy or Exited (x) xxx, it means OnlineJudge has started successfully.

Access the server's HTTP 8888 port through a browser, and you can start using it. The background management path is /admin, the super administrator user name automatically added during the installation process is root, and the password is rootroot. If you log in successfully, please change your account password immediately..

Don't forget to read the documentation: http://opensource.qduoj.com/