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
Percy6mo ago
Project ID: 9b1e56d1-948c-4752-9516-7eac9e920fae
Betaswipe
Betaswipe6mo ago
wasteful-achiever
Brody
Brody6mo ago
you would want to deploy the postgis template instead
Betaswipe
Betaswipe6mo ago
okay, can you please help me with steps on how to do that?
Brody
Brody6mo ago
from within your project, click the + new button, click templates, search for postgis
Betaswipe
Betaswipe6mo 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
Brody6mo ago
just run postgis locally the same way you are running postgres
Betaswipe
Betaswipe6mo ago
Alright, thank you very much, i really appreciate the your help
Brody
Brody6mo ago
no problem