ayenz / Sharif-Judge

A free and open source online judge system for programming courses
https://github.com/mjnaderi/Sharif-Judge/tree/docs
GNU General Public License v3.0
1 stars 2 forks source link

SharIF Judge

SharIF Judge is a free and open source online judge for C, C++, Java and Python programming courses. SharIF Judge is a fork of the original SharIF Judge beautifully created by @mjnaderi. This forked version contain many improvements, mostly due to the needs by our faculty at @ftisunpar.

The web interface is written in PHP (CodeIgniter framework) and the main backend is written in BASH.

Python in SharIF Judge is not sandboxed yet. Just a low level of security is provided for python. If you want to use SharIF Judge for python, USE IT AT YOUR OWN RISK or provide sandboxing yourself.

The full documentation is at https://github.com/ftisunpar/Sharif-Judge/tree/docs

Download the latest release from https://github.com/ftisunpar/Sharif-Judge/releases

Features

Requirements

For running SharIF Judge, a Linux server with following requirements is needed:

Installation

  1. Download the latest release from download page and unpack downloaded file in your public html directory.
  2. [Optional] Move folders system and application somewhere outside your public directory. Then save their full path in index.php file ($system_path and $application_folder variables).
  3. Create a MySql or PostgreSql database for SharIF Judge. Do not install any database connection package for C/C++, Java or Python.
  4. Set database connection settings in application/config/database.php.
  5. Make application/cache/Twig writable by php.
  6. Open the main page of SharIF Judge in a web browser and follow the installation process.
  7. Log in with your admin account.
  8. [IMPORTANT] Move folders tester and assignments somewhere outside your public directory. Then save their full path in Settings page. These two folders must be writable by PHP. Submitted files will be stored in assignments folder. So it should be somewhere not publicly accessible.
  9. [IMPORTANT] Secure SharIF Judge

After Installation

License

GPL v3