Programming contest server in Python.
$ pip install -U -r requirements.txt
pip
can usually be found in your distribution's python-pip
package. If you want to use LDAP authentication (currently the only supported method), you will also need the python-ldap
package.
$ bump setup
Copy compytition/config.py.example
to compytition/config.py
and edit it. If you have $EDITOR
set, this will do the work for you:
$ bump config
$ bump db.new <name>
Throw text files (with Markdown, if you'd like) into contests/<name>/questions/
with no extension.
$ bump db.init <name>
For debug or development:
Do not use this for hosting contests! It allows execution of arbitrary Python code on the host.
$ bump debug
For production:
$ bump run