mjnaderi/Sharif-Judge
소개
프로그래밍 강좌를 위한 무료 오픈 소스 온라인 저지 시스템입니다.
학습 및 교육What you can do
- Multiple user roles (admin, head instructor, instructor, student)
- Sandboxing (not yet for python)
- Cheat detection (similar codes detection) using Moss
- Custom rule for grading late submissions
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalSharif Judge
Sharif Judge is a free and open source online judge for C, C++, Java and Python programming courses.
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/mjnaderi/Sharif-Judge/tree/docs
Download the latest release from https://github.com/mjnaderi/Sharif-Judge/releases
Features
- Multiple user roles (admin, head instructor, instructor, student)
- Sandboxing (not yet for python)
- Cheat detection (similar codes detection) using Moss
- Custom rule for grading late submissions
- Submission queue
- Download results in excel file
- Download submitted codes in zip file
- "Output Comparison" and "Tester Code" methods for checking output correctness
- Add multiple users
- Problem Descriptions (PDF/Markdown/HTML)
- Rejudge
- Scoreboard
- Notifications
- ...
Requirements
For running Sharif Judge, a Linux server with following requirements is needed:
- Webserver running PHP version 5.3 or later with
mysqliextension - PHP CLI (PHP command line interface, i.e.
phpshell command) - MySql or PostgreSql database
- PHP must have permission to run shell commands using
shell_exec()php function (speciallyshell_exec("php");) - Tools for compiling and running submitted codes (
gcc,g++,javac,java,python2andpython3commands) - It is better to have
perlinstalled for more precise time and memory limit and imposing size limit on output of submitted code.
Installation
- Download the latest release from download page and unpack downloaded file in your public html directory.
- [Optional] Move folders
systemandapplicationsomewhere outside your public directory. Then save their full path inindex.phpfile ($system_pathand$application_foldervariables). - Create a MySql or PostgreSql database for Sharif Judge. Do not install any database connection package for C/C++, Java or Python.
- Set database connection settings in
application/config/database.php. - Make
application/cache/Twigwritable by php. - Open the main page of Sharif Judge in a web browser and follow the installation process.
- Log in with your admin account.
- [IMPORTANT] Move folders
testerandassignmentssomewhere outside your public directory. Then save their full path inSettingspage. These two folders must be writable by PHP. Submitted files will be stored inassignmentsfolder. So it should be somewhere not publicly accessible. - [IMPORTANT] Secure Sharif Judge
After Installation
- Read the documentation
License
GPL v3
관련 프로젝트 살펴보기
불러오는 중…