Skip to content

dtowell/contest-host

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation
------------
1. install packages for languages: python3, java, gcc, etc. (see test_attempts.php)
2. install the following packages: php sqlite3 php-sqlite3
3. copy static documentation to ./docs
4. create database by running: sqlite3 contest.db < create.sql

Startup
-------
1. start server by running: php -S 0.0.0.0:8000 -t html html/redirect.php
2. open browser to localhost:8000

Add Contest
-----------
1. add database record using http://localhost:8000/edit_contests.php
2. create directory under contests with name specified above 
3. copy problems (*.html), test files (*.in, *.out), and rules.html to new directory 

Usage
-----
* initial judge account: admin/secret
* judge can edit: contests, contestants, problems, and notes via simple forms
* anyone can view standings
* contestants have limited rights
* questions and print requests supported via submissions (see submit_attempt.php)
* support for print requests via view_prints.php

Coverage
--------
* install php-xdebug
* run: php -S 0.0.0.0:8000 -t html -dauto_prepend_file=html/coverage.php html/redirect.php
* later, run: php show_coverage.php

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published