virtualenv -p python3 mypython
source mypython/bin/activate (for Mac OS/Linux)
git clone https://github.com/prakashatul1/Olympics-Medal-Table.git
cd Olympics-Medal-Table/
It is advisable to install all the dependencies seperately as different systems will support different version of liabraries
use this link ---->> https://www.digitalocean.com/community/tutorials/how-to-use-postgresql-with-your-django-application-on-ubuntu-14-04 for setting up the database if you are using ubuntu 14.04
python manage.py makemigrations
python manage.py migrate
python manage.py scrape_table
python manage.py createsuperuser
python manage.py runserver
Copy paste this link in url ---->> http://127.0.0.1:8000/
login with credentials you entered while creating superuser
you can view the table by clicking on the "Country" link
you click on any of the headers to sort the data.
To view map copy paste this link in url ---->> http://127.0.0.1:8000/map