Created
February 14, 2017 12:16
-
-
Save nazywamsiepawel/958c12ef70e7ae78670ef9a6adfe86c0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(sudo) docker pull mdillon/postgis:latest | |
Then just set your env vars: | |
export POSTGRES_IMAGE="mdillon/postgis" | |
export POSTGRES_IMAGE_VERSION="latest" | |
Then you just use the plugin to create a new database. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
CREATE EXTENSION postgis;
Click the Play button in the toolbar (or press F5) to “Execute the query.”
Now confirm that PostGIS is installed by running a PostGIS function:
SELECT postgis_full_version();