A Judgesystem for Coding Challenges.
Download the Zip file and extract to server directory.
Should have PHP,MySQL server installed with latest browser.
- Configure the username,password of SQL server in following files.
- includes/dbConnector.php
- judger/judge.py
- Run the judgesystem.sql file to build Database.
- 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');
- Open http://localhost/judgesystem or http://servername/judgesystem
- You need to sign up before logging in.
- To upload problems use following credentials.
- Username: admin
- Password: admin
- Built using PHP,MySQL,Jquery.
- XAMPP - Development Environment.
- Codemirror - JS and CSS based Editor.
Manohar C- Initial work
- Thanks to Codemirror and Judge0 for development tools.
- This is prototype and is not suitable for largescale deployment.