Skip to main content

LAN Programming Contest Judging Program

Project description

OpenJudge
=========

**Refactored!**

OpenJudge has been refactored to be faster and easier to set up! This
repository was about quick contests for small groups of 20-30 people. Somewhere
along the way, I faltered and it became bloated. It's back now in a form which
is fast and light.

Screenshots
----------

![Normal Screen](screens/home.png)
![Leader Board Screen](screens/lb.png)

Usage
-----

First install MongoDB by following the instructions [in their docs](https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/)

```bash
sudo apt-get install python3-dev
pip install --user pipenv
pipenv install openjudge --python 3.5
pipenv shell

mkdir questions
cd questions

mkdir 1
cd 1

# Create these files
touch statement i0 o0 i1 o0

# go back to where the questions directory resides
cd ../../
```

To run openjudge two commands need to be issued. `openjudge` and `openjudge --judge` in two separate terminals. The first is the interface and the second is the "judge".

[![asciicast](https://asciinema.org/a/1kaLBpe57efO7FGKEc7dHLxb0.png)](https://asciinema.org/a/1kaLBpe57efO7FGKEc7dHLxb0)


In case you have a lot of people sending in code and you deem that the code check is too slow, you just have to start another judge process with `openjudge --judge`.


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openjudge-3.0.4-py2.py3-none-any.whl (125.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file openjudge-3.0.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for openjudge-3.0.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 095966833dbace2241cc189e1fb48c496429f0ef95f8b1f5a5273e6b4a87ac91
MD5 d4418628286217d500cf0a8473268552
BLAKE2b-256 8703c48bdc99a1cdb322659f759fd2c8c0cedff3a42db6067052a4c1ca55802b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page