Skip to content

Quick Demonstration of a basic Django/React/Leaflet project running in Docker

Notifications You must be signed in to change notification settings

tom-w-nicholls/react-django-leaflet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-django-leaflet

A Quick Demonstration of a simple Django/React/Leaflet project running in Docker

This demonstration application uses Django to serve GeoJson data via a REST API and react-leaflet to display it.

This can be all be run within a Docker container which utilises hot reload for development purposes.

Run locally using the commands:

docker-compose build
docker-compose up -d

Then go to http://localhost to view the results

The polygon data that this is based on is from a project completed in conjuction with Cumbria Action for Sustainability to locate roof spaces in Penrith, Cumbria, UK that are judged using an algorithm to be most suitable for solar panels (using 3D elevation data).

To view: click on a roof space to view estimated potential solar energy generation per annum

About

Quick Demonstration of a basic Django/React/Leaflet project running in Docker

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published