Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

History

History
History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..

Readme.md

Outline

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.