Permalink
Browse files

Updated install steps to include locale settings in DB setup.

  • Loading branch information...
David Zwarg
David Zwarg committed Feb 28, 2013
1 parent 260bcbf commit 40408c1b59b24a88a97b98e3e2a8289e78112127
Showing with 7 additions and 10 deletions.
  1. +7 −7 docs/INSTALL
  2. +0 −3 sql/publicmapping_db.sql
View
@@ -118,10 +118,9 @@ as reports and downloads) and cron jobs.
generate templates:
> sudo su postgres
> createdb template_postgis
> createlang plpgsql template_postgis
> psql -d template_postgis -f /usr/share/postgresql/8.4/contrib/postgis-1.5/postgis.sql
> psql -d template_postgis -f /usr/share/postgresql/8.4/contrib/postgis-1.5/spatial_ref_sys.sql
> createdb -E UTF8 -T template0 -l en_US.UTF-8 template_postgis
> psql -d template_postgis -f /usr/share/postgresql/9.1/contrib/postgis-1.5/postgis.sql
> psql -d template_postgis -f /usr/share/postgresql/9.1/contrib/postgis-1.5/spatial_ref_sys.sql
> exit
5. Once postgis is intalled, run the PublicMapping_db.sql script in
@@ -145,10 +144,11 @@ as reports and downloads) and cron jobs.
Put that above the line that reads "local all all ident" so that
password authentication is allowed before user ident authentication
7. Download the datafile to /projects/PublicMapping/DistrictBuilder/data, and unzip into
the import directory: /projects/local/data/:
7. Download the datafile to /projects/PublicMapping/data, and unzip into
the import directory: /projects/PublicMapping/local/data/:
> cd /projects/PublicMapping/DistrictBuilder/data
> sudo mkdir /projects/PublicMapping/data
> cd /projects/PublicMapping/data
> sudo wget --no-check-certificate -O VA_data.zip \
https://s3.amazonaws.com/districtbuilderdata/VA_data.zip
> sudo mkdir /projects/PublicMapping/local/data
View
@@ -12,9 +12,6 @@ CREATE ROLE publicmapping LOGIN
CREATE DATABASE publicmapping
WITH OWNER = publicmapping
ENCODING = 'UTF8'
LC_COLLATE = 'en_US.UTF-8'
LC_CTYPE = 'en_US.UTF-8'
CONNECTION LIMIT = -1
TEMPLATE = template_postgis;

0 comments on commit 40408c1

Please sign in to comment.