Skip to content

terrameijar/Django-GeolocationAPI-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Geolocation API Example

This project demonstrates how to build a Geolocation Site using Django.

Setup

To run this project, do the following:

  1. Install dependencies:

    pip install -r requirements.txt
  2. 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()
    
  3. Create an API key on tomtom.com to generate maps. Copy and save it to a TOMTOM_API_KEY environment variable.

  4. Run migrations:

    python manage.py migrate
  5. Collect static files:

    python manage.py collectstatic

About

Django Geolocation API Example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published