Skip to content

Commit

Permalink
removed obsolete comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Cactusbone committed Oct 22, 2015
1 parent c57ffb4 commit 8eddc84
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions postgis-template.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
#!/bin/bash -e
# file is sourced from a bash script so shebang is not used
#inspired by https://github.com/appropriate/docker-postgis/blob/master/9.4-2.1/initdb-postgis.sh

echo "Creating template_postgis as a template"
psql --username "$POSTGRES_USER" <<- EOSQL
CREATE DATABASE template_postgis TEMPLATE template0 ENCODING 'UTF8';
UPDATE pg_database SET datistemplate = TRUE WHERE datname = 'template_postgis';
EOSQL

#http://stackoverflow.com/questions/27547933/how-to-create-postgis-extension-for-postgresql-in-docker
psql --username "$POSTGRES_USER" --dbname "template_postgis" <<- 'EOSQL'
CREATE EXTENSION postgis;
CREATE EXTENSION postgis_topology;
Expand Down

0 comments on commit 8eddc84

Please sign in to comment.