Giter Club home page Giter Club logo

d-judge's Introduction

Docker Judge

Online Judgehost powered by Docker for NEUOJ

Installation

  • You need to install go compiler first https://golang.org/ please use go1.7
  • You need to have docker installed
  • Run go get -u -v github.com/VOID001/D-judge
  • cd to $GOPATH/src/github.com/VOID001/D-judge/
  • Run go build then
  • Create config.toml, you can copy one from config.toml.example

Run

  • Configure the Judgehost specified configuration, more info can found in config.toml.example
  • Run NEUOJ Server and start docker service
  • Run sudo ./D-judge to start the judgehost

Contribution

  • Please use pull request and github issue to contribute :)

FAQ

  • Q: I got json decode error: json: cannot unmarshal string into Go value of type int64 when running D-judge

  • A: Please run patch -p1 < 0001-Fix-compabability-issue-with-NEUOJ-Product-version.patch in D-judge source root

  • Q: I got worker error: downloading testcase error: error processing download: request error status code 500 data

  • A: Please make sure you upload testcase to Server(NEUOJ)

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.