Requirements: Python3 with GnuPG module
Instructions:-
Server-side:
- Navigate to the server directory and copy the following files into the tests directory:
a) Input files (Format: QuestionNum_TestCaseNum.txt)
b) Output files (Format: QuestionNum_TestCaseNum.out)
c) "scores" file containing the weightage of each question - Run the main.py script
- Select "Start a new Test"
- Enter port number on which the server should run for accepting scores
- Copy the "testfiles" folder over to the client directory (These are what will be handed over to the student)
- Run the Server
- Submissions will be saved in the directory named "Files" and the scores will be saved in results.json
Client-side:
- Run the check.py script
- Enter the required passkey
- Enter the filename (ex. "1.c") for each question (leave it blank if you don't want to attempt)
- Finally the script prompts for your credentials in order to post the results to the server