项目作者: segment-oj

项目描述 :
Segment OJ judger leader
高级语言: TypeScript
项目地址: git://github.com/segment-oj/segmentoj-judge-leader.git
创建时间: 2021-02-09T10:16:22Z
项目社区:https://github.com/segment-oj/segmentoj-judge-leader

开源协议:MIT License

下载


Abandoned because of new framework design

Sgmentoj Judge Leader

Segment OJ judger leader

[](https://github.com/segment-oj/segmentoj-judge-leader/blob/main/LICENSE)

[](https://github.com/segment-oj/segmentoj-judge-leader/actions)

How To Build

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

Configure

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

Available configures and their default values.

  1. {
  2. "port": 4000,
  3. "ws_port": 5000,
  4. "server_uri": "http://localhost:8000",
  5. "judger_port_uri": "http://localhost:3000",
  6. "username": "judge-leader",
  7. "password": "123456"
  8. }
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