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

Modifying commands to run server

parent 744ee5cf
...@@ -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
To install all the requirements using requirements.txt One needs to git clone the project and run following commands.
$git clone https://git.cse.iitb.ac.in/sroshan/Pariksha
$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