Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.32 KB

README.md

File metadata and controls

30 lines (24 loc) · 1.32 KB

Quiz

This is a small web app for the school to conduct quiz exams to their students.

Requirements :

          Framework : Django-3.0.6
          Tech-Lang : Python-3.8

Setup :

First install virtual environment : pip install virtualenvwrapper-win
Create a virtual environment : Mkvirtualen [Name]

If you create more env's then use command : workon
It shows List of env's and select one env for this use command : workon [name]
Install python : pip instsall python
After this install django : pip install django
To view version of the framework use command : django-admin --version
Next make directory : mkdir [name]
Change directory : cd [name]
Later, we've to create project env : django-admin startproject [name]
Next, run the project by this command : python manage.py runserver
It shows the link click on it and now you'r able to see the django page by local server
Now, create an app : django-admin startapp [name]
We've to migrate first and later make migrations : python manage.py makemigrations
                                                   python manage.py migrate

--> Now, start write your models and code and to check use run command : python manage.py runserver To stop server use : crtl + c

This is all about setup and running the code.