本机已安装:
- redis
- mongodb 3.6
- nodejs >12.0
- zip
- unzip
- JudgeServer
git clone https://github.com/roj/front-end.git
git clone https://github.com/roj/roj.git
cd roj
git submodule init
git submodule update
cp default_config.yaml config.yaml
# modify config.yaml
npm install yarn -g
yarn
yarn start
.
├── app.js 入口
├── assets 资源
├── bin 启动文件
├── DB 数据函数库
├── Function 路由函数
├── lib 函数库
├── routes 路由表
├── utils 工具函数库
└── default_config.yaml 默认配置
rainboy