Skip to content

ryanlee2014/CUP-Online-Judge-Express

 
 

Repository files navigation

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

About

A CUP Online Judge backend express module

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • JavaScript 49.1%
  • CSS 45.9%
  • TypeScript 4.7%
  • Other 0.3%