This converter generates contest.json
and runs.json
file for Spotboard using cmsRankingWebServer(CMS Scoreboard).
It was tested with IOI 2020 Official Scoreboard.
This project was inspired by spotboard/domjudge-converter.
- Do not support subtask
- cmsRankingWebServer must operate correctly
- Node.js
- CMS Scoreboard
$ npm install
$ npm start
- Install Spotboard & Converter
$ apt install nodejs npm
$ git clone https://github.com/justiceHui/cms-spotboard-converter.git
$ wget -c https://github.com/spotboard/spotboard/releases/download/v0.6/spotboard-webapp-0.6.0.tar.gz
$ tar -zxvf spotboard-webapp-0.6.0.tar.gz
$ mv spotboard-webapp-0.6.0 spotboard
$ cd cms-spotboard-converter
$ npm install
- Configuration
$ vim config.js
cms.scoreboard = 'https://ranking.ioi2020.sg'
cms.cid = 1
dest = '../spotboard/sample'
- Run Converter
$ screen -S cms
$ npm start
- ctrl+A D
- Run Spotboard
$ cd spotboard
$ npm install -g http-server
$ screen -S spotboard
$ http-server -c-1
- ctrl+A D
- Goto (Your IP):8080