Commit b2b580a7 authored by jayaprakash-a's avatar jayaprakash-a

Basic project repo setup done

parent 4fcd086e
HI **************************************************
TEAM NAME : Dark Horses
**************************************************
**************************************************
TEAM MEMBERS
**************************************************
Jayaprakash A (193050050)
Sairam M(193050056)
Laksh Sharma(193054001)
**********************************************************
PROJECT NAME : e-Auction System for sports events
**********************************************************
************************************************************
github link: https://git.cse.iitb.ac.in/sairam/e-Auction_for_sports_events
************************************************************
**************************************************
CONTRIBUTION OF TEAM MEMBERS
**************************************************
Jayaprakash A:
Sairam M:
Laksh Sharma:
*********************************************************
EXECUTION OF CODE
*********************************************************
\section{Setup}
\subsection{The basic setup of the project}
\begin{itemize}
\item Download the project from GitHub.
\item Clone the repository:\\
\texttt{\$ git clone https://jayaprakash@git.cse.iitb.ac.in/jayaprakash/\\CS699LabProject.git}
\item We have to create django super user.\\
\texttt{\$ python manage.py createsuperuser}. Enter details and password.
\item Setup the database. We have to make migrations and import the data into the database.
\texttt{\$ python manage.py makemigrations\\ \$ python manage.py migrate}
\item To run the server on our machine and make our system as host. Find out the ipaddress of the system \\ \texttt{\$ ifconfig}.
Add the ipaddress address to \texttt{ALLOWED\_HOSTS} in \texttt{config/settings.py} file. You may also need to add '127.0.0.1', 'localhost' to that list.
\item Run the server as \\ \texttt{\$ python manage.py runserver 0.0.0.0:8000}.
\item Enter to the browser the following address \texttt{YOUR\_IP\_ADDRESS:8000/}.
\item Now the setup is done. The UI is self explanatory helps in signing up and logging in.
\end{itemize}
\subsection{Starting the auction}
The auction process with the admin making a request to the server.
\begin{itemize}
\item Login as the super user created earlier using the link
\texttt{YOUR\_IP\_ADDRESS:8000/admin}. Now without logging out open the link \texttt{YOUR\_IP\_ADDRESS:8000/adminstart}\\
Note: The auction process starts as soon as the page loads. So make sure that team managers are ready before hand.
\item Auction process for managers. Login to the portal using the created manager IDs \texttt{YOUR\_IP\_ADDRESS:8000/accounts/login/manager}
\item For convenience open two tabs of browser and open the following urls\\
\texttt{YOUR\_IP\_ADDRESS:8000/auction\_online} and \texttt{YOUR\_IP\_ADDRESS:8000/auction-test}. Note do not log out in between.
\end{itemize}
\ No newline at end of file
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