Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.66 KB

README.md

File metadata and controls

47 lines (34 loc) · 1.66 KB

CUP-Online-Judge-Express

Build Status codebeat badge codecov

CUP Online Judge后端模块

请使用git clone到本地安装

Requirements

  • Ubuntu 16.04 or later(Recommend)
  • Node.js 10(LTS) or later(LTS)
  • MySQL 5.7 or later
  • Redis latest
  • CUP-Online-Judge-Judger(when judger needed)

Install typescript

npm install -g typescript

Install dependencies

npm install

Build JavaScript distribution

npm run build

Run HTTP Server cluster

npm start

Stop HTTP Server cluster

npm stop

Run Websocket Daemon(Not cluster)

npm run websocket:start

Stop Websocket Daemon(Not cluster)

npm run websocket:stop

Run Program

npm run front

Debug

npm run debug