GeoDjango on Heroku in 2020
Marc Gibbons
Published: February 6, 2020
It's been a few years since I've used GIS on Heroku. Here's a quick configuration guide to install GeoDjango dependencies on Heroku (without community buildpacks).
- Add the Heroku apt buildpack
heroku buildpacks:add --index 1 https://github.com/heroku/heroku-buildpack-apt
- Create a file called
Aptfile
at the root-level of the project and add the following packages:# Aptfile libgeos-dev libproj-dev
- That's it! Commit & deploy.