go-docker-judger

command module
v0.0.0-...-6db4251 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

README

go-docker-judger

Introduction

An OJ judger server by docker and golang, now this project is developing.

if you are interested in it, you can contract with me by email:

Usage

Firstly, you need build image from docker directory:

$ docker image build -t pushyzheng/go-docker-judger .

Then run following command to start container, the output will show judgement result:

$ docker run -v "e:/usr/pushy":/usr/src/oj/code -v "e:/usr/cases":/usr/src/oj/cases pushyzheng/go-docker-judger

But your computer must exists Main.java in e:/usr/pushy, if don't have this path, you can change it in top command.

In addition, you can put case file to /e:/usr/cases, the form of test case file as following:

1
2
3

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL