Skip to content

Latest commit

 

History

History
 
 

Calculate-distance

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Distance Calculating Django App

App that can show distance between user's location and searched location on map.

Packages Used

  1. Geopy
  2. folium
  3. crispy-form
  4. Bootstrap

How to run

1. Fork this repository.

2. Clone your forked copy of the project.

git clone https://github.com/<your_user_name>/Amazing-Python-Scripts.git

Navigate to the project directory.

cd Amazing-Python-Scripts/Calculate-distance
create folder named 'geoip' in main project directory.
download city and country database

For downloading city and country database

extract the zip files and copy paste 
1. GeoLite2-City.mmdb
2. GeoLite2-country.mmdb
to geoip folder
pip install -r requirements.txt
python manage.py runserver

And here you go

Author

Pritam Pawar