Commit 3ed78eda authored by Samarth Joshi's avatar Samarth Joshi

Modifying commands to run server

parent 744ee5cf
git link: git link:
https://git.cse.iitb.ac.in/sroshan/Pariksha https://git.cse.iitb.ac.in/sroshan/Pariksha
Samarth Joshi <203059008> Frontend (ALL), Cheating Measures Samarth Joshi <203059008> Frontend (ALL), Cheating Measures
Sanchit Gupta <203050089> Frontend(STUDENT Dashobard & LOGIN), User Documentation Sanchit Gupta <203050089> Frontend(STUDENT Dashobard & LOGIN), User Documentation
Roshan Sahu <203050048> Backend, Developer Documentation Roshan Sahu <203050048> Backend, Developer Documentation
Motivation: Motivation:
Due to global pandemic online education has seen an exponential increase, we need to leverage technology to test students. Due to global pandemic online education has seen an exponential increase, we need to leverage technology to test students.
...@@ -16,29 +16,19 @@ How to use: ...@@ -16,29 +16,19 @@ How to use:
You need to have installed the dependencies. You need to have installed the dependencies.
To install python3 on ubuntu, run the following command in your terminal. To install python3 on ubuntu, run the following command in your terminal.
$sudo apt-get install python3
$sudo apt-get install python3
To install Django on ubuntu, run the following command in your terminal. To install Django on ubuntu, run the following command in your terminal.
$sudo apt-get install python3-django
$sudo apt-get install python3-django One needs to git clone the project and run following commands.
$git clone https://git.cse.iitb.ac.in/sroshan/Pariksha
To install all the requirements using requirements.txt $cd Pariksha/source
$pip3 install -r requirements.txt $pip3 install -r requirements.txt
To start the project run
One needs to git clone the project.
$git clone https://git.cse.iitb.ac.in/sroshan/Pariksha
After that open terminal in main directory and run following commands.
$python3 manage.py makemigrations $python3 manage.py makemigrations
$python3 manage.py migrate $python3 manage.py migrate
#create a super user using manage.py
$python3 manage.py createsuperuser
$python3 manage.py runserver $python3 manage.py runserver
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment