-
Make sure you have postgresql installed
-
sudo su - [user - your postgres user]
-
wget http://pgfoundry.org/frs/download.php/527/world-1.0.tar.gz
-
tar xzvf world-1.0.tar.gz cd dbsamples-0.1/world
-
createdb -T template0 worlddb
-
psql worlddb < world.sql
Make sure to use python3 while running the code
-
install the dependencies in requirements in
requirements.txt
pip3 install -r requirements.txt
- python3 -
To plot the graphs run the following command
python3 run.py
-
Done!๐ฅฐ