Go to file
LiYang 66ddc58820
Update README.en.md
2021-07-02 22:14:52 +08:00
backup add backup script 2018-01-19 23:35:56 +08:00
.gitignore update 2017-11-26 16:00:23 +08:00
README.en.md Update README.en.md 2021-07-02 22:14:52 +08:00
README.md Update README.md 2021-07-02 22:14:38 +08:00
docker-compose.yml remove $PWD 2019-04-09 08:37:56 +08:00

README.en.md

简体中文 | English

Environmental preparation (Linux)

  • System: Ubuntu 18.04 LTS
  1. Install the necessary dependencies

    sudo apt-get update
    sudo apt-get install -y vim python3-pip curl git
    pip3 install --upgrade pip
    pip install docker-compose
    
  2. Install Docker

    Install using script: sudo curl -sSL get.docker.com | sh

    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/QingdaoU/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 80 port or HTTPS 443 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/