Skip to content

An online judge that focus on fast, easy and reliable .

Notifications You must be signed in to change notification settings

Dangerise/mygoj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

118 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

It's MYGOJ

An online judge that focus on fast, easy and reliable .

Development Guide

Compilation

由于使用了sqlx, 首先应初始化数据库

python init.py

这会生成一个空的数据库,使得 sqlx 的查询语句可以编译。

项目的前端使用了 dioxus 作为框架,因此你应先安装 dioxus-cli

在 arch linux 中,你可以方便地安装

sudo pacman -S dioxus-cli

或者通过 cargo 安装

cargo install dioxus-cli

由于后端会直接把前端打包进可执行文件,所以你要先打包前端

dx bundle -p front

或加上 --release

再运行以下命令以初始化存储目录

cargo r -p server -- init

About

An online judge that focus on fast, easy and reliable .

Resources

Stars

Watchers

Forks

Languages