Skip to content

segment-oj/segmentoj-judge-leader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Abandoned because of new framework design

Sgmentoj Judge Leader

Segment OJ judger leader

How To Build

  1. Clone repo
git clone https://github.com/segment-oj/segmentoj-judge-leader
  1. Install
npm install
  1. Serve
npm run serve

Configure

Write the config in process.env.cfg or judge-leader.config.json

Available configures and their default values.

{
    "port": 4000,
    "ws_port": 5000,
    "server_uri": "http://localhost:8000",
    "judger_port_uri": "http://localhost:3000",
    "username": "judge-leader",
    "password": "123456"
}
Config Name Meaning
port The HTTP Server Port
ws_port The WS Server Port
server_uri The Backend-Server's URI
judger_port_uri The Judger-Port's URI
usermane The Username to the Judge-Leader In The Backend-Server
password The Password to the Judge-Leader In The Backend-Server

Releases

No releases published