This is an MCQ test portal for conducting MCQ tests online.
- Admin can add users,test-setters and questions setters.
- The permissions of all the users can be changed by the admin.
- Admin has access to all the features of other users.
- Question-setters can add new questions and can edit and delete them.
- Test-setters create tests, associate questions with the test,add test's starting time and then add contestants that are eligible for that test.
- Contestants can Login into the portal and once they click on start test, the timer will start.
- The progress of the user is saved even if the browser gets closed due to any technical glitch.
- Download the project or clone it from github https://github.com/riya-rc/MCQ_Test_WebApp and unzip it.
- In terminal cd to the MCQ_Test_WebApp.
cd MCQ_Test_WebApp
- Run these commands in terminal.
pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
- Start server using this command in terminal
python manage.py runserver
- Now go to http://127.0.0.1:8000/
Follow these steps to run the project
- Create admin by running the following command and enter the details.
python manage.py createsuperuser
- Go to http://127.0.0.1:8000/admin and login as superuser.
- Create users by clicking on groups and then add groups.
- Create a group giving the permissions accordingly.
- Add users by clicking on users and adding the details.
- Then add groups for the user and check the staff status.
- Save the changes and new question-setter/Test setter accordingly and can login from the same admin interface.
- Click on Questions.
- Click on Add Questions.
- Enter the details of the question and click on SAVE.
- Click on Test.
- Click on Add test.
- Enter Numeric Test id, Test name, Test duration and Test URL.
- Test URL should be the format "tests/test_id" where test id is the test id entered.
- Save the Test.
- Click on Associations.
- Click on Add Associatinos.
- Select the question and the Test that is to be associated and save.
- Click on contestants and add users, who are eligible of giving tests.
To add the Users that are egigible to give the test:
- Click on Users Test
- Click on add Users Test
- Select the user, and test and enter the start time of the test and Save
- Enter into the Home Page of the website.
- Login using the contestant credentials.
- Start the test and click on submit after finishing the test.