Skip to content

Latest commit

 

History

History
39 lines (36 loc) · 858 Bytes

README.md

File metadata and controls

39 lines (36 loc) · 858 Bytes

OnlineJudge (Deprecated)

Judge built using Golang for hosting competetive programming contests and problems. Real time compilation and execution of programs against testcases. Safe compilation and execution of the user program carried out in Linux containers protecting host against malicious code. Languages supported are

  • C++
  • C
  • Python (3.4 & 2.7)
  • Java
  • Golang (1.4) (Check serverLxc branch)

Requirements

  • GoLang (1.4 or higher)
  • mysql

Installation

go get -u github.com/JRonak/OnlineJudge

Run the firstsetup.bash to setup Linux containers In the project directory

bee run

Make sure $GOPATH and git are added to env. Also setup dependencies

Dependancy

  • Beego Framework
go get github.com/astaxie/beego
  • Bcrypt
golang.org/x/crypto/bcrypt
  • Go-Sql-Driver
go get github.com/go-sql-driver/mysql