From 6296df11020fc0b7fc04a2ce50314bade827e0a7 Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Wed, 18 Jan 2017 13:09:47 -0500 Subject: [PATCH] need postgres dev headers --- doc/production/first-deploy.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/production/first-deploy.md b/doc/production/first-deploy.md index f90d1502..19d2e386 100644 --- a/doc/production/first-deploy.md +++ b/doc/production/first-deploy.md @@ -14,7 +14,9 @@ #### Setup Postgres - sudo apt-get install postgresql-9.4 #specify version!! + sudo apt-get install postgresql-9.4 + # make sure you have development headers for postgres. The package name might be different on your distribution. + sudo apt-get install libpq-dev sudo -u postgres psql postgres=# CREATE USER metamaps WITH PASSWORD 'mycoolpassword' CREATEDB; postgres=# CREATE DATABASE metamaps_production OWNER metamaps;