\documentclass{article}[a4paper,14pt]
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{geometry}
%\usepackage{tabto}
\usepackage{bera}
%\usepackage{natbib}
\usepackage{graphicx}
\usepackage{float}

\usepackage{titling}
\renewcommand\maketitlehooka{\null\mbox{}\vfill}
\renewcommand\maketitlehookd{\vfill\null}

\title{\textbf{CS699 Project:\\IIT ka Gyan}\\{Indian Institute Of Technology, Bombay}}
\author{ \textbf{Vikrant Sharma}\\203050035\\\textbf{Ayush Sharma}\\203050029\\\textbf{Bharat Kumar Panwar}\\203050113\\\textbf{Utkarsh Indolia}\\203050111 }
\date{16th November, 2020}

\begin{document}

\begin{titlingpage}
    \maketitle
\end{titlingpage}

\newpage
\section{Introduction}
"IIT Ka Gyan" is platform where students who aspire to be in IIT can register and ask their doubts to real and verified IITians. Users can either register as a "normal user" or as an "IITian user". To be able to register as an IITian user, one has to use their IIT email id during the registration process. This step ensures that every IITian user on the site is genuine and verified.

To keep the purpose of the website straight-foward it's designed in a way so that a normal user is only allowed to post a question and an IITian user is only allowed to answer them. There are some other social features which are allowed to both types of users like upvote, downvote, comment, etc.

\section{Motivation}
A lot of students in this country are giving JEE/GATE exams every year, and have several queries regarding IITs like cut-off criteria, admission details, campus life, etc. And everyone wishes to have a contact at IIT to give them a clear \& honest answer but not everyone does.

There are no forums which are solely dedicated to this purpose as well; because of which if you ask your queries on others sites, they can easily get lost among other topics. And besides that, since they are generally an open platform, anyone can pose as anyone and answer however they want. The information provided there cannot be always trusted.

These are the exact same issues which we are trying to resolve by developing this platform.

\section{Dependencies}
\begin{itemize}
    \item Python3
    \item Pip3
    \item Django
    \item Django Email Verification
\end{itemize}

\section{How to Setup}
Setting up is very simple. You need to have installed the following dependencies.
To install python3 on ubuntu, run the following command in your terminal.
\begin{itemize}
    \item \textbf{\textit{sudo apt install python3}}
\end{itemize}
To install pip3 on ubuntu, run the following command in your terminal.
\begin{itemize}
    \item \textbf{\textit{sudo apt install python3-pip}}
\end{itemize}
To install Django and Django-Email-Verification using pip3 on ubuntu, run the following command in your terminal.
\begin{itemize}
    \item \textbf{\textit{pip3 install django}}
    \item \textbf{\textit{pip3 install django-email-verification}}
\end{itemize}
Once all this is done you are ready to compile the project. Now open a terminal in the main source code directory and run following commands.
\begin{itemize}
    \item \textbf{\textit{python3 manage.py makemigrations}}
    \item \textbf{\textit{python3 manage.py migrate}}
    \item \textbf{\textit{python3 manage.py runserver}}
\end{itemize}
After this you should be able to access the website by going to the URL "127.0.0.1:8000" in any web-browser on your system.
\begin{figure}[H]
    \centering
    \includegraphics[width=0.7\columnwidth]{home-site.png}
    \caption{Site Home Page}
    \label{fig:home-site}
\end{figure}
The home page should look something like in \ref{fig:home-site}. If you can see that, then you're on the right track.

\subsection{Register and Login}
Every user must register before they can post questions/answers on the site. You cannot login before completing this step. 

You should choose the registration option based on the role which you want to play on this site. A key point to remember here is that if you want to register as an IITian, you must register using your institute email id only i.e. your email domain should be like: "example\textit{@<iit domain>.ac.in}"

Fill in the required fields and once it is done, you should get a verification mail on the email which you provided during the registration process.
\begin{figure}[H]
    \centering
    \includegraphics[width=0.7\columnwidth]{register.png}
    \caption{Register Page}
    \label{fig:register}
\end{figure}
Once you've clicked on the link sent to your email, it should display a message that your account has been verified. You can now proceed to the login page.
\begin{figure}[H]
    \centering
    \includegraphics[width=0.7\columnwidth]{login.png}
    \caption{Login Page}
    \label{fig:login}
\end{figure}

\section{User Types}
\subsection{Normal User}
After logging in using your credentials you should see your personalized dashboard page based on your user type.
\begin{figure}[H]
    \centering
    \includegraphics[width=0.7\columnwidth]{home-normal.png}
    \caption{Normal Dashboard}
    \label{fig:dash-normal}
\end{figure}
You can either post a new question on some doubt which you'd like to get the answer to...
\begin{figure}[H]
    \centering
    \includegraphics[width=0.7\columnwidth]{post-question.png}
    \caption{Ask Question}
    \label{fig:post-ques}
\end{figure}
...Or you can scroll through the question list, where you can see what other users have asked and click on anyone of them to view their replies.
\begin{figure}[H]
    \centering
    \includegraphics[width=0.7\columnwidth]{ques-list-normal.png}
    \caption{Question List}
    \label{fig:ques-list-normal}
\end{figure}
You can further interact by liking (upvote) or disliking (downvote) any replies you see on the question. You can also add a comment to the replies as well.
\begin{figure}[H]
    \centering
    \includegraphics[width=0.7\columnwidth]{question-normal.png}
    \caption{Question View}
    \label{fig:ques-normal}
\end{figure}
There's also a section called "My Questions" which can be accessed from your dashboard, where you can quickly access a list of question posted by you only, and to see if there are any answers on them. You can also update your posts in case you want to improve your question.
\begin{figure}[H]
    \centering
    \includegraphics[width=0.7\columnwidth]{my-question-list.png}
    \caption{My Questions}
    \label{fig:my-ques-list}
\end{figure}

\subsection{IITian User}
After logging in using your credentials you should see your personalized dashboard page based on your user type.
\begin{figure}[H]
    \centering
    \includegraphics[width=0.7\columnwidth]{home-iitian.png}
    \caption{IITian Dashboard}
    \label{fig:dash-iitian}
\end{figure}
You can scroll through the question list, where you can see what other users have asked and click on anyone of them to view their replies.
\begin{figure}[H]
    \centering
    \includegraphics[width=0.7\columnwidth]{ques-list-iitian.png}
    \caption{Question List}
    \label{fig:ques-list-iitian}
\end{figure}
You can answer any question from here if you think you can clear that user's query. You can further interact by liking (upvote) or disliking (downvote) any replies you see on the question. You can also add a comment to the replies as well.
\begin{figure}[H]
    \centering
    \includegraphics[width=0.7\columnwidth]{question-iitian.png}
    \caption{Question View}
    \label{fig:ques-iitian}
\end{figure}
From the "My Answers" section found on your dashboard, you can get quick access to all the answers you've posted so far on this site.
\begin{figure}[H]
    \centering
    \includegraphics[width=0.7\columnwidth]{my-answer-list.png}
    \caption{My Answers}
    \label{fig:my-ans-list}
\end{figure}

\section{Future Scope}
This project can be helpful to a lot of engineering students in this country who are very passionate into joining in IITs. The website could be hosted and made publicly available so people could interact in a seamless manner. The site has the potential to create a community of itself which would be very interesting to see.

\end{document}