Skip to content

lijqhs/django-postgis-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-postgis-example

This repository is the example code for the blog post Dockerizing Django with PostgreSQL, PostGIS and GeoDjango for Location Search

To run the application, add .env in postgres and djproject/djsite, and run the following command:

cd postgres
docker compose -f compose.postgis.yml up
cd ../djproject/djsite
docker build -f dockerfile.base -t dj_base .
docker compose up

Add test data in http://localhost:1024/admin; test location search in http://localhost:1024/djapp/search

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published