question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Adding support postgis

See original GitHub issue

Description

It seems to me that it’s worth asking users if they want to see the possibility of using postgis in this project. I tried to install postgis and gdal, but I did not succeed.

If I’m not mistaken, is it enough to find a good example of postgis on dockerhub, which is maintained for a long time so that it can be included in this project?

Rationale

Gis is one of the django apps that comes out of the box. This is the best geo framework from all that I’ve come across. I also think that cookiecutter is the best boilerplace for Django, so it would not be bad to unite them 😃

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:14 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
sww314commented, Jul 24, 2018

I use the postgis and geo-django on most of my projects. The Django docker images requires a few mods to install the required libraries. I swap the Postgres image for this one: https://hub.docker.com/r/mdillon/postgis/ and this Dockerfile for Django. https://gist.github.com/sww314/4638d2605bc1400b000f7d1e73d3d793

1reaction
browniebrokecommented, Dec 26, 2021

Adding support for Docker seems pretty simple, yes, but I feel like think might get a bit more complicated to cover the other cases:

  • Developing locally without Docker
  • Deploying to prod without Docker: Heroku, etc…

Especially with regards to what one needs to do on the DB side of things when the DB is configured outside of the template.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installation - PostGIS
Upgrading PostGIS​​ To upgrade PostGIS, you first have to install the latest binaries and then upgrade each database you have PostGIS installed in....
Read more >
Chapter 2. PostGIS Installation
First get binaries for PostGIS 2.1+ or compile and install as usual. · Connect to your database via psql or pgAdmin or some...
Read more >
Support | PostGIS
The postgis-users mailing list is a supportive community forum to discuss issues, to learn new techniques, and to share your knowledge with other...
Read more >
3. Installation — Introduction to PostGIS
Go to the Windows PostgreSQL download page. · Select the latest version of PostgreSQL and save the installer to disk. · Run the...
Read more >
Chapter 2. PostGIS Installation
The first step in creating a PostGIS database is to create a simple PostgreSQL database.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found