Enable Postgis extension in postgres

I am trying to create a query in nestjs and postgres. I don't know how to enable Postgis in my db so that i can perform geo queries. Any help will be highly appreciated
9 Replies
Percy
Percy12mo ago
Project ID: 9b1e56d1-948c-4752-9516-7eac9e920fae
Betaswipe
BetaswipeOP12mo ago
wasteful-achiever
Brody
Brody12mo ago
you would want to deploy the postgis template instead
Betaswipe
BetaswipeOP12mo ago
okay, can you please help me with steps on how to do that?
Brody
Brody12mo ago
from within your project, click the + new button, click templates, search for postgis
Betaswipe
BetaswipeOP12mo ago
Thank you, I seem to have an issue on using it locally in my docker, i already have nestjs project and postgres running on docker. I don't now how to make it work locally. Is there any article you can recommend that can help me?
Brody
Brody12mo ago
just run postgis locally the same way you are running postgres
Betaswipe
BetaswipeOP12mo ago
Alright, thank you very much, i really appreciate the your help
Brody
Brody12mo ago
no problem
Want results from more Discord servers?
Add your server