StarOJ is an Online-Judge written in C#.
Now, StarOJ support SqlServer provider.
StarOJ's goal is to bring an easy and friendly interface for problem judging.
- Easy to deploy
- Easy to run
- Easy to manage
- Easy to use
This project contains three applications:
StarOJ.Server.Judger
: JudgerStarOJ.Server.API
: API Server, provide services and interfaces to access StarOJ's workspace.StarOJ.Server.Host
: Host Server, use API Server to provide web application for users.
The judger and the API server must be in the same host, because they share the same StarOJ's workspace, and use named-pipeline to communicate. The host server needs the URL of the API server to access the API server.
You can see the command-line options of the applications above in server-start.ps1
.
- Create an empty directory for StarOJ's workspace.
- Start API server in the directory.
- Start judger in the directory.
- Start host server and link to the API server.
- Open StarOJ in browser and switch to
Admin
page. - Click
Initialize
button. - Enjoy it!
The root user is Admin
with default password admin
.
To generate problems, we recommend gop. It has StarOJ
in its target platform list.