Commit 81d90d29 authored by jayaprakash-a's avatar jayaprakash-a

Updated readme

parent c9ff7264
**************************************************
TEAM NAME : Dark Horses
# TEAM NAME : Dark Horses
**************************************************
**************************************************
TEAM MEMBERS
## TEAM MEMBERS
**************************************************
Jayaprakash A (193050050)
Sairam M(193050056)
Laksh Sharma(193054001)
**********************************************************
PROJECT NAME : e-Auction System for sports events
## 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
## CONTRIBUTION OF TEAM MEMBERS
**************************************************
Jayaprakash A:
Sairam M:
Laksh Sharma:
*********************************************************
EXECUTION OF CODE
## 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/sairam/e-Auction_for_sports_events.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 basic setup of the project
1. Download the project from GitHub.Clone the repository:
``` bash
$ git clone https://jayaprakash@git.cse.iitb.ac.in/sairam/e-Auction_for_sports_events.git
```
2. We have to create django super user.
``` bash
$ python manage.py createsuperuser
```
​ Enter details and password.
3. Setup the database. We have to make migrations and import the data into the database.
```bash
$ python manage.py makemigrations
$ python manage.py migrate
```
4. To run the server on our machine and make our system as host. Find out the ipaddress of the system
```bash
$ ifconfig
```
Add the ipaddress address to ```ALLOWED_HOSTS``` in ```config/settings.py``` file. You may also need to add ```127.0.0.1```, ```localhost``` to that list.
5. Run the server as
```bash
$ python manage.py runserver 0.0.0.0:8000
```
Enter to the browser the following address ```YOUR\_IP\_ADDRESS:8000/```.
Now the setup is done. The UI is self explanatory helps in signing up and logging in.
#### 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
1. Login as the super user created earlier using the link. ```YOUR_IP_ADDRESS:8000/admin```
2. Now without logging out open the link ```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.
3. Auction process for managers. Login to the portal using the created manager IDs ````YOUR_IP_ADDRESS:8000/accounts/login/manager```
4. For convenience open two tabs of browser and open the following urls\\
```YOUR_IP_ADDRESS:8000/auction_online``` and ```YOUR_IP_ADDRESS:8000/auction-test```. Note do not log out in between.
#### Post Auction
1. The managers can view the list of players they purchased using the following url.```YOUR_IP_ADDRESS:8000/your_managers```
2. Similarly players can see the managers who bought them using the following url.```YOUR_IP_ADDRESS:8000/listofplayers```
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