Skip to content

meghadandapat/Clash-Round-2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLASH ROUND 2 ONLINE JUDGE:

This platform was developed & deployed successfully for hosting Clash- the flagship event of Credenz organised by PISB.

So, here is a quick guide for setup on your PC and host run this platform locally.

1) Clone the branch named fullnfinal.

git clone -b fullnfinal https://github.com/meghadandapat/Clash-Round-2.git

2) Create a virtual environment and install the required packages.

install python3-env and pip for creating a envirnoment.

sudo apt-get install python3-venv python3-pip

create a virtual envirnoment:

python3 -m venv env

activate this virtual envirnoment:

source env/bin/activate

installing all required packages which are present in requirement.txt:

pip install -r requirements.txt

#Note: For installing all the sandboxing packages (i.e required for compilation and running the user's code), run the script seccomp.sh by command: sh seccomp.sh

3) Running the code Setting up timer and starting game

Run this application by command:

python manage.py runserver

Note: before running the above command, head over to userApp/views.py and set the end variable (line 22) as per the end time you wish to set for the contest to end.

User Interface of the platform:

1) Login Page -

Login Page

2) Instructions Page -

Instructions Page

3) Question Page -

questionhub.png

4) Coding Page -

codingpage.png

5) Testcase Evaluation Page -

testcases.png

6) Submissions Page -

submissions.png

7) LeaderBoard -

leaderboard.png

8) Results Page -

resultpage.png

About

Online Judge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 70.4%
  • HTML 24.8%
  • CSS 4.1%
  • Python 0.6%
  • C++ 0.1%
  • C 0.0%