need postgres dev headers

This commit is contained in:
Devin Howard 2017-01-18 13:09:47 -05:00
parent 2e0acfc170
commit 6296df1102

View file

@ -14,7 +14,9 @@
#### Setup Postgres #### 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 sudo -u postgres psql
postgres=# CREATE USER metamaps WITH PASSWORD 'mycoolpassword' CREATEDB; postgres=# CREATE USER metamaps WITH PASSWORD 'mycoolpassword' CREATEDB;
postgres=# CREATE DATABASE metamaps_production OWNER metamaps; postgres=# CREATE DATABASE metamaps_production OWNER metamaps;