From 74d38eb1ccd1e7f889e7f29d9522e3fc90ff676d Mon Sep 17 00:00:00 2001 From: Joe Nelson Date: Wed, 23 Mar 2016 15:12:11 -0700 Subject: [PATCH] Updated install instructions for linux and mac --- CONTRIBUTING.md | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1f47d653a..0987c9210 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -11,20 +11,20 @@ We're happy you want to contribute! You can help us in different ways: #### Mac 1. Install XCode -3. Install packages with homebrew +2. Install packages with homebrew ```bash - brew install git postgresql-9.5` - brew link openssl --force` + brew install git openssl postgresql-9.5 + brew link openssl --force ``` -4. Get the code +3. Get the code ```bash git clone https://github.com/citusdata/citus.git ``` -5. Build and test +4. Build and test ```bash cd citus @@ -32,20 +32,24 @@ We're happy you want to contribute! You can help us in different ways: make sudo make install cd src/test/regress - make check + make check-multi ``` #### Linux 1. Install a C compiler and Git 1.8+ -2. Install PostgreSQL 9.5 ([instructions](http://www.postgresql.org/download/)) -3. Install packages +2. Install packages ```bash - # Ubuntu - apt-get install postgresql-server-dev-9.5 libreadline-dev + # Using APT + apt-get update + apt-get install -y make git wget libreadline-dev libxslt1-dev libxml2-dev libselinux1-dev libpam-ocaml-dev + + # Using YUM + yum install -y openssl-devel pam-devel libxml2-devel libxslt-devel readline-devel zlib-devel postgresql95-devel postgresql95-server ``` +3. Install PostgreSQL 9.5 ([instructions](http://www.postgresql.org/download/linux/)) 4. Get the code ```bash @@ -60,5 +64,5 @@ We're happy you want to contribute! You can help us in different ways: make sudo make install cd src/test/regress - make check + make check-multi ```