This project demonstrates how to build a Geolocation Site using Django.
To run this project, do the following:
-
Install dependencies:
pip install -r requirements.txt
-
Generate Secret Key and save it to a
SECRET_KEY
environment variable:# Start the Django Shell python manage.py shell from django.core.management.utils import get_random_secret_key get_random_secret_key()
-
Create an API key on tomtom.com to generate maps. Copy and save it to a
TOMTOM_API_KEY
environment variable. -
Run migrations:
python manage.py migrate
-
Collect static files:
python manage.py collectstatic