Update the Dockerfile and settings.py files in the new-django-app template to properly install GDAL and set the Django engine to support PostGIS as a backend when postgis is True.
Handles #93.
Testing Instructions
Change into the docker/templates/ directory
Run docker-compose run --rm cookiecutter -f new-django-app
Accept all default settings, but set postgis to True
Change into my-new-app/ and run docker-compose up --build
Overview
Update the
Dockerfile
andsettings.py
files in thenew-django-app
template to properly install GDAL and set the Django engine to support PostGIS as a backend whenpostgis
isTrue
.Handles #93.
Testing Instructions
docker/templates/
directorydocker-compose run --rm cookiecutter -f new-django-app
postgis
toTrue
my-new-app/
and rundocker-compose up --build
docker-compose down --volumes
docker/templates/
directory and remove the new app withrm -RF my-new-app
docker rmi my-new-app
docker-compose run --rm cookiecutter -f new-django-app
againDockerfile
andsettings.py
files look syntactically correct