GeoLocation-Distance is a app that Calculate Distance and Show on the Map. The styling for the application is done using Bootstrap 4.5
Clone this project.
-
Move to the base directory:
cd GeoLocation-Distance
-
Create a new python enveronment with:
virtualenv env
. -
Activate enveronment with:
env\Scripts\activate
on windows, orsource env/bin/activate
on Mac and Linux. -
Install required dependences with:
pip install -r requirements.txt
. -
Make migrations with:
python manage.py makemigrations
and thenpython manage.py migrate
. -
Run app locally with:
python manage.py runserver
.
Open http://127.0.0.1:8000/ to view it in the browser.
SignUp and Login -> https://dev.maxmind.com/geoip/geoip2/geolite2/ , Download Files -> 1) GeoLite2 City(Download GZIP) 2)GeoLite2 Country(Download GZIP).
Grab the files GeoLite2-City.mmdb
from GeoLite2_City and GeoLite2-Country.mmdb
from GeoLite2-Country move this files into geoip
directory.
If your in MacOs GoTo Applications Find the Python Version you're using and run the install certificates.command
This project is officialy certified by Jewells Joshi. All rights reserved 2020.