477 B
477 B
how to set up postgis
use docker-postgis
setting docker-postgis to use django unit testing
- get into the running docker shell
- open postgresql client as postgres user (you have to do this from the command line in the container as you cannot do it remotely)
- ALTER ROLE <user_name> SUPERUSER;
- set <user_name> as admin
now the admin can run the tests
sudo docker exec -it minyanfinder_development_db bash