fabric/share/templates/readmes/postgis.md
2020-03-02 22:20:34 +02:00

477 B

how to set up postgis

use docker-postgis

setting docker-postgis to use django unit testing

  1. get into the running docker shell
  2. open postgresql client as postgres user (you have to do this from the command line in the container as you cannot do it remotely)
  3. ALTER ROLE <user_name> SUPERUSER;
  4. set <user_name> as admin

now the admin can run the tests

sudo docker exec -it minyanfinder_development_db bash