Skip to content

manoharc07/code-judgesystem

Repository files navigation

Codify

A Judgesystem for Coding Challenges.

Getting Started

Download the Zip file and extract to server directory.

Prerequisites

Should have PHP,MySQL server installed with latest browser.

Installing

  1. Configure the username,password of SQL server in following files.
    • includes/dbConnector.php
    • judger/judge.py
  2. Run the judgesystem.sql file to build Database.
For Linux only (Additional Steps)
  • Type following commands
	sudo apt-get install python3.7
	sudo apt install python3-pip
	pip3 install coderunner
	pip3 install mysql-connector
  • Open includes/submit.php in line 22 with exec function replace the line with following
    exec('..\judger\env\Scripts\python3 ../temp/'.$codefile.' '.$prob_id.' '.$lang.' '.$user.' >> ../temp/submissionlog.txt');

Deployment

Built With

  • Built using PHP,MySQL,Jquery.
  • XAMPP - Development Environment.

Authors

Manohar C- Initial work

Acknowledgments

  • This is prototype and is not suitable for largescale deployment.

About

Judge-system for coding challenges.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors