Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
twd2 authored Jul 17, 2017
1 parent a6fbda5 commit bc028d1
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,20 @@ python3 -m vj4.server --listen=unix:/var/run/vj4.sock

Better to use a reverse proxy like Nginx or h2o.

## Judging

To enable vj4 to judge, at least one judge user and one judge daemon instance are needed.

* Use following commands to create a judge user:

```bash
alias pm="python3 -m"
pm vj4.model.user add -2 judge 123456 judge@example.org
pm vj4.model.user set_judge -2
```

* See https://github.com/vijos/jd4 for more details about the judge daemon.

## Notes

Have fun!
Expand Down

0 comments on commit bc028d1

Please sign in to comment.