From 729f355ccef1f65458bfe18977e23f1124435dc2 Mon Sep 17 00:00:00 2001 From: Joe Nelson Date: Tue, 22 Mar 2016 10:58:35 -0700 Subject: [PATCH 01/14] Change docs url to what it will be when 5.0 is live --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 810334bcc..cb692dd52 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Build Status](https://travis-ci.com/citusdata/citus.svg?token=bSq3ym67qubHCGNs1iYZ&branch=master)](https://travis-ci.com/citusdata/citus) [![Citus IRC](https://img.shields.io/badge/irc-%23citus-blue.svg)](irc://irc.freenode.net/citus) -[![Latest Docs](https://img.shields.io/badge/docs-latest-brightgreen.svg)](https://www.citusdata.com/documentation/citus-documentation-5/index.html) +[![Latest Docs](https://img.shields.io/badge/docs-latest-brightgreen.svg)](https://www.citusdata.com/documentation/citus-documentation/index.html) ### What is Citus? @@ -51,7 +51,7 @@ To learn more, visit [citusdata.com](https://www.citusdata.com). docker exec -it citus_master psql -U postgres -d postgres ``` -* Follow the [first tutorial](https://www.citusdata.com/documentation/citus-documentation-5/tutorials/tut-real-time.html) instructions +* Follow the [first tutorial](https://www.citusdata.com/documentation/citus-documentation/tutorials/tut-real-time.html) instructions * To shut the cluster down, run ```bash @@ -60,8 +60,8 @@ To learn more, visit [citusdata.com](https://www.citusdata.com). ### Learn More -The project [documentation](https://www.citusdata.com/documentation/citus-documentation-5/index.html) and -[tutorials](https://www.citusdata.com/documentation/citus-documentation-5/tutorials/tut-real-time.html) are good places to start. +The project [documentation](https://www.citusdata.com/documentation/citus-documentation/index.html) and +[tutorials](https://www.citusdata.com/documentation/citus-documentation/tutorials/tut-real-time.html) are good places to start. We’re responsive on Github, so you can use the [issue tracker](https://github.com/citusdata/citus/issues) to check for or submit bug reports and feature requests. For more immediate help From cd17d0b08f7b9c0c484ace487cccbb8eda083673 Mon Sep 17 00:00:00 2001 From: Joe Nelson Date: Tue, 22 Mar 2016 11:11:56 -0700 Subject: [PATCH 02/14] Link to freenode web client rather than irc:// protocol Chrome was not understanding the direct link (did not spawn my irc client) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cb692dd52..1c06a2264 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ ![Citus Banner](/github-banner.png) [![Build Status](https://travis-ci.com/citusdata/citus.svg?token=bSq3ym67qubHCGNs1iYZ&branch=master)](https://travis-ci.com/citusdata/citus) -[![Citus IRC](https://img.shields.io/badge/irc-%23citus-blue.svg)](irc://irc.freenode.net/citus) +[![Citus IRC](https://img.shields.io/badge/irc-%23citus-blue.svg)](https://webchat.freenode.net/?channels=citus) [![Latest Docs](https://img.shields.io/badge/docs-latest-brightgreen.svg)](https://www.citusdata.com/documentation/citus-documentation/index.html) ### What is Citus? From f4029a5216ff705f02b86f17e68945d21c00b197 Mon Sep 17 00:00:00 2001 From: Joe Nelson Date: Tue, 22 Mar 2016 11:20:04 -0700 Subject: [PATCH 03/14] Add note about missing sql commands Help avoid a frustrating surprise --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 1c06a2264..335e0053c 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,9 @@ gives developers and enterprises the power and familiarity of a traditional relational database. As an extension, Citus supports new PostgreSQL releases, allowing users to benefit from new features while maintaining compatibility with existing PostgreSQL tools. +Note that Citus supports many (but not all) SQL commands; see the +[FAQ](https://www.citusdata.com/frequently-asked-questions) for +more details. Common Use-Cases: * Powering real-time analytic dashboards From ec8902fc09edc0fd13b50263f46e69548aaa4a4d Mon Sep 17 00:00:00 2001 From: Joe Nelson Date: Tue, 22 Mar 2016 11:50:40 -0700 Subject: [PATCH 04/14] Add basic CONTRIBUTING.md --- CONTRIBUTING.md | 38 ++++++++++++++++++++++++++++++++++++++ README.md | 6 +++--- 2 files changed, 41 insertions(+), 3 deletions(-) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 000000000..a9eb9744c --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,38 @@ +# Contributing to Citus + +We're happy you want to contribute! You can help us in different ways: + +* Open an [issue](https://github.com/citusdata/citus/issues) with + suggestions for improvements +* Fork this repository and submit a pull request + +### Getting and building + +1. Install the following prerequisites, as necessary: + - A C compiler. On Mac OS X, Xcode should suffice. + - PostgreSQL development libraries + + ```bash + # on mac + brew install postgresql + + # on linux + apt-get install libpq-dev + ``` + + - Git 1.8+ + +2. Get the code + + ```bash + git clone https://github.com/citusdata/citus.git + ``` + +3. Build and test + + ```bash + ./configure + make + make install + make check + ``` diff --git a/README.md b/README.md index 335e0053c..f48c16aea 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,6 @@ page](https://www.citusdata.com/citus-products/citus-data-pricing). Citus is built on and of open source. We welcome your contributions, and have added a [helpwanted](https://github.com/citusdata/citus/labels/helpwanted) label -to issues which are accessible to new contributors. The CONTRIBUTING.md -file explains how to get started developing the Citus extension -itself and our code quality guidelines. +to issues which are accessible to new contributors. The +[CONTRIBUTING.md](CONTRIBUTING.md) file explains how to get started +developing the Citus extension itself and our code quality guidelines. From bf53c2e36ffba3c3204f6ed6206d0c3e07ffd8b9 Mon Sep 17 00:00:00 2001 From: Joe Nelson Date: Tue, 22 Mar 2016 13:53:30 -0700 Subject: [PATCH 05/14] Docs in /docs/citus/current --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f48c16aea..efef5bc25 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Build Status](https://travis-ci.com/citusdata/citus.svg?token=bSq3ym67qubHCGNs1iYZ&branch=master)](https://travis-ci.com/citusdata/citus) [![Citus IRC](https://img.shields.io/badge/irc-%23citus-blue.svg)](https://webchat.freenode.net/?channels=citus) -[![Latest Docs](https://img.shields.io/badge/docs-latest-brightgreen.svg)](https://www.citusdata.com/documentation/citus-documentation/index.html) +[![Latest Docs](https://img.shields.io/badge/docs-latest-brightgreen.svg)](https://www.citusdata.com/docs/citus/current) ### What is Citus? @@ -54,7 +54,7 @@ To learn more, visit [citusdata.com](https://www.citusdata.com). docker exec -it citus_master psql -U postgres -d postgres ``` -* Follow the [first tutorial](https://www.citusdata.com/documentation/citus-documentation/tutorials/tut-real-time.html) instructions +* Follow the [first tutorial](https://www.citusdata.com/docs/citus/current/tutorials/tut-real-time.html) instructions * To shut the cluster down, run ```bash @@ -63,8 +63,8 @@ To learn more, visit [citusdata.com](https://www.citusdata.com). ### Learn More -The project [documentation](https://www.citusdata.com/documentation/citus-documentation/index.html) and -[tutorials](https://www.citusdata.com/documentation/citus-documentation/tutorials/tut-real-time.html) are good places to start. +The project [documentation](https://www.citusdata.com/docs/citus/current) and +[tutorials](https://www.citusdata.com/docs/citus/current/tutorials/tut-real-time.html) are good places to start. We’re responsive on Github, so you can use the [issue tracker](https://github.com/citusdata/citus/issues) to check for or submit bug reports and feature requests. For more immediate help From be8a9bed8b266bf002d65a10e9ca7266baa38db2 Mon Sep 17 00:00:00 2001 From: Joe Nelson Date: Tue, 22 Mar 2016 13:53:38 -0700 Subject: [PATCH 06/14] Copyright footer --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index efef5bc25..d3f7b80bb 100644 --- a/README.md +++ b/README.md @@ -83,3 +83,7 @@ and have added a to issues which are accessible to new contributors. The [CONTRIBUTING.md](CONTRIBUTING.md) file explains how to get started developing the Citus extension itself and our code quality guidelines. + +___ + +Copyright 2012-2016 Citus Data From e1cb0b7ad4e501af16a749fd0d5d40ba5a6f0081 Mon Sep 17 00:00:00 2001 From: Joe Nelson Date: Tue, 22 Mar 2016 14:06:03 -0700 Subject: [PATCH 07/14] Add who's using section --- README.md | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/README.md b/README.md index d3f7b80bb..b1c996fc7 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,51 @@ to issues which are accessible to new contributors. The [CONTRIBUTING.md](CONTRIBUTING.md) file explains how to get started developing the Citus extension itself and our code quality guidelines. +### Who is Using Citus? + +
+ +
CloudFlare
+
+CloudFlare uses Citus to provide real-time analytics on 100 TBs of +data from over 4 million customer websites Read +more > +
+ +
Agari
+
+Agari uses Citus to secure more than 85 percent of U.S. consumer +emails on two 6-8 TB clusters Read +more > +
+ + +
MixRank
+
+Citus enables MixRank to efficiently collect and analyze vast amounts +of data to allow inside B2B sales teams to find new customers Read +more > +
+ +
Neustar
+
+Neustar builds and maintains scalable ad-tech infrastructure that counts billions of events per day using Citus and HyperLogLog. +
+ +
Heap
+
+Heap uses Citus for conversion funnels with filtering and grouping, +retention analysis, and behavioral cohorting across billions of +users and tens of billions of events. Watch +video > +
+ +
+ ___ Copyright 2012-2016 Citus Data From a067c2e0578e11d5d11ea4f4ccf61a93984f524a Mon Sep 17 00:00:00 2001 From: Joe Nelson Date: Wed, 23 Mar 2016 13:19:01 -0700 Subject: [PATCH 08/14] Make list of users more compact --- README.md | 61 ++++++++++++++++++------------------------------------- 1 file changed, 20 insertions(+), 41 deletions(-) diff --git a/README.md b/README.md index b1c996fc7..25de2e183 100644 --- a/README.md +++ b/README.md @@ -86,48 +86,27 @@ developing the Citus extension itself and our code quality guidelines. ### Who is Using Citus? -
+Citus is deployed in production by many customers, ranging from +technology start-ups to large enterprises. Here are some examples: -
CloudFlare
-
-CloudFlare uses Citus to provide real-time analytics on 100 TBs of -data from over 4 million customer websites Read -more > -
- -
Agari
-
-Agari uses Citus to secure more than 85 percent of U.S. consumer -emails on two 6-8 TB clusters Read -more > -
- - -
MixRank
-
-Citus enables MixRank to efficiently collect and analyze vast amounts -of data to allow inside B2B sales teams to find new customers Read -more > -
- -
Neustar
-
-Neustar builds and maintains scalable ad-tech infrastructure that counts billions of events per day using Citus and HyperLogLog. -
- -
Heap
-
-Heap uses Citus for conversion funnels with filtering and grouping, -retention analysis, and behavioral cohorting across billions of -users and tens of billions of events. Watch -video > -
- -
+* [CloudFlare](https://www.cloudflare.com/) uses Citus to provide +real-time analytics on 100 TBs of data from over 4 million customer +websites. [Case +Study](https://blog.cloudflare.com/scaling-out-postgresql-for-cloudflare-analytics-using-citusdb/) +* [MixRank](https://mixrank.com/) uses Citus to efficiently collect +and analyze vast amounts of data to allow inside B2B sales teams +to find new customers. [Case +Study](https://www.citusdata.com/solutions/case-studies/mixrank-case-study) +* [Neustar](https://www.neustar.biz/) builds and maintains scalable +ad-tech infrastructure that counts billions of events per day using +Citus and HyperLogLog. +* [Agari](https://www.agari.com/) uses Citus to secure more than +85 percent of U.S. consumer emails on two 6-8 TB clusters. [Case +Study](https://www.citusdata.com/solutions/case-studies/agari-case-study) +* [Heap](https://heapanalytics.com/) uses Citus to run dynamic +funnel, segmentation, and cohort queries across billions of users +and tens of billions of events. [Watch +Video](https://www.youtube.com/watch?v=NVl9_6J1G60&list=PLixnExCn6lRpP10ZlpJwx6AuU3XIgNWpL) ___ From 69f8389f99fd504a817270d40669fcf79e9437b1 Mon Sep 17 00:00:00 2001 From: Joe Nelson Date: Wed, 23 Mar 2016 13:22:00 -0700 Subject: [PATCH 09/14] Link explicitly to 5.0 docs rather than current/ --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 25de2e183..66b708e40 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Build Status](https://travis-ci.com/citusdata/citus.svg?token=bSq3ym67qubHCGNs1iYZ&branch=master)](https://travis-ci.com/citusdata/citus) [![Citus IRC](https://img.shields.io/badge/irc-%23citus-blue.svg)](https://webchat.freenode.net/?channels=citus) -[![Latest Docs](https://img.shields.io/badge/docs-latest-brightgreen.svg)](https://www.citusdata.com/docs/citus/current) +[![Latest Docs](https://img.shields.io/badge/docs-latest-brightgreen.svg)](https://www.citusdata.com/docs/citus/5.0) ### What is Citus? @@ -54,7 +54,7 @@ To learn more, visit [citusdata.com](https://www.citusdata.com). docker exec -it citus_master psql -U postgres -d postgres ``` -* Follow the [first tutorial](https://www.citusdata.com/docs/citus/current/tutorials/tut-real-time.html) instructions +* Follow the [first tutorial](https://www.citusdata.com/docs/citus/5.0/tutorials/tut-real-time.html) instructions * To shut the cluster down, run ```bash @@ -63,8 +63,8 @@ To learn more, visit [citusdata.com](https://www.citusdata.com). ### Learn More -The project [documentation](https://www.citusdata.com/docs/citus/current) and -[tutorials](https://www.citusdata.com/docs/citus/current/tutorials/tut-real-time.html) are good places to start. +The project [documentation](https://www.citusdata.com/docs/citus/5.0) and +[tutorials](https://www.citusdata.com/docs/citus/5.0/tutorials/tut-real-time.html) are good places to start. We’re responsive on Github, so you can use the [issue tracker](https://github.com/citusdata/citus/issues) to check for or submit bug reports and feature requests. For more immediate help From 9b79a7998e0dbdc49603a96a6f06983914d1f51c Mon Sep 17 00:00:00 2001 From: Joe Nelson Date: Wed, 23 Mar 2016 14:08:26 -0700 Subject: [PATCH 10/14] Specific build instructions for mac vs linux --- CONTRIBUTING.md | 54 ++++++++++++++++++++++++++++++++++++------------- 1 file changed, 40 insertions(+), 14 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a9eb9744c..1f47d653a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -8,31 +8,57 @@ We're happy you want to contribute! You can help us in different ways: ### Getting and building -1. Install the following prerequisites, as necessary: - - A C compiler. On Mac OS X, Xcode should suffice. - - PostgreSQL development libraries +#### Mac - ```bash - # on mac - brew install postgresql +1. Install XCode +3. Install packages with homebrew - # on linux - apt-get install libpq-dev - ``` + ```bash + brew install git postgresql-9.5` + brew link openssl --force` + ``` - - Git 1.8+ - -2. Get the code +4. Get the code ```bash git clone https://github.com/citusdata/citus.git ``` -3. Build and test +5. Build and test ```bash + cd citus ./configure make - make install + sudo make install + cd src/test/regress + make check + ``` + +#### Linux + +1. Install a C compiler and Git 1.8+ +2. Install PostgreSQL 9.5 ([instructions](http://www.postgresql.org/download/)) +3. Install packages + + ```bash + # Ubuntu + apt-get install postgresql-server-dev-9.5 libreadline-dev + ``` + +4. Get the code + + ```bash + git clone https://github.com/citusdata/citus.git + ``` + +5. Build and test + + ```bash + cd citus + ./configure + make + sudo make install + cd src/test/regress make check ``` From 5952a19e8de93db6114eea8a0968ad7fd2442f0d Mon Sep 17 00:00:00 2001 From: Joe Nelson Date: Wed, 23 Mar 2016 15:12:11 -0700 Subject: [PATCH 11/14] 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 ``` From 4d975348b0690636d2507262312f15aa8a701bf6 Mon Sep 17 00:00:00 2001 From: Joe Nelson Date: Wed, 23 Mar 2016 15:22:58 -0700 Subject: [PATCH 12/14] Use named links in readme --- README.md | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 66b708e40..e46441822 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Build Status](https://travis-ci.com/citusdata/citus.svg?token=bSq3ym67qubHCGNs1iYZ&branch=master)](https://travis-ci.com/citusdata/citus) [![Citus IRC](https://img.shields.io/badge/irc-%23citus-blue.svg)](https://webchat.freenode.net/?channels=citus) -[![Latest Docs](https://img.shields.io/badge/docs-latest-brightgreen.svg)](https://www.citusdata.com/docs/citus/5.0) +[![Latest Docs](https://img.shields.io/badge/docs-latest-brightgreen.svg)][docs] ### What is Citus? @@ -22,8 +22,7 @@ traditional relational database. As an extension, Citus supports new PostgreSQL releases, allowing users to benefit from new features while maintaining compatibility with existing PostgreSQL tools. Note that Citus supports many (but not all) SQL commands; see the -[FAQ](https://www.citusdata.com/frequently-asked-questions) for -more details. +[FAQ][faq] for more details. Common Use-Cases: * Powering real-time analytic dashboards @@ -37,7 +36,7 @@ To learn more, visit [citusdata.com](https://www.citusdata.com). #### Local Citus Cluster -* Install docker-compose: [Mac](https://www.docker.com/products/docker-toolbox) | [Linux](https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-compose-on-ubuntu-14-04) +* Install docker-compose: [Mac][mac_install] | [Linux][linux_install] * (Mac only) connect to Docker VM ```bash eval $(docker-machine env default) @@ -54,7 +53,7 @@ To learn more, visit [citusdata.com](https://www.citusdata.com). docker exec -it citus_master psql -U postgres -d postgres ``` -* Follow the [first tutorial](https://www.citusdata.com/docs/citus/5.0/tutorials/tut-real-time.html) instructions +* Follow the [first tutorial][tutorial] instructions * To shut the cluster down, run ```bash @@ -63,17 +62,15 @@ To learn more, visit [citusdata.com](https://www.citusdata.com). ### Learn More -The project [documentation](https://www.citusdata.com/docs/citus/5.0) and -[tutorials](https://www.citusdata.com/docs/citus/5.0/tutorials/tut-real-time.html) are good places to start. -We’re responsive on Github, so you can use the [issue -tracker](https://github.com/citusdata/citus/issues) to check for or -submit bug reports and feature requests. For more immediate help -or general discussion we’re on IRC at `#citus` on Freenode and -[@citusdata](https://twitter.com/citusdata) on Twitter. +The project [documentation][docs] and [tutorials][tutorial] are +good places to start. We’re responsive on Github, so you can use +the [issue tracker][issues] to check for or submit bug reports and +feature requests. For more immediate help or general discussion +we’re on IRC at `#citus` on Freenode and [@citusdata][twitter] on +Twitter. We also offer training and dedicated support options. More information -is available on our [support -page](https://www.citusdata.com/citus-products/citus-data-pricing). +is available on our [support page][support]. ### Contributing @@ -108,6 +105,15 @@ funnel, segmentation, and cohort queries across billions of users and tens of billions of events. [Watch Video](https://www.youtube.com/watch?v=NVl9_6J1G60&list=PLixnExCn6lRpP10ZlpJwx6AuU3XIgNWpL) +[docs]: https://www.citusdata.com/docs/citus/5.0 +[faq]: https://www.citusdata.com/frequently-asked-questions +[issues]: https://github.com/citusdata/citus/issues +[linux_install]: https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-compose-on-ubuntu-14-04 +[mac_install]: https://www.docker.com/products/docker-toolbox +[support]: https://www.citusdata.com/citus-products/citus-data-pricing +[tutorial]: https://www.citusdata.com/docs/citus/5.0/tutorials/tut-real-time.html +[twitter]: https://twitter.com/citusdata + ___ Copyright 2012-2016 Citus Data From ae59fd7967a52ec42de4904b9dff11fca0c071d9 Mon Sep 17 00:00:00 2001 From: Joe Nelson Date: Wed, 23 Mar 2016 15:26:25 -0700 Subject: [PATCH 13/14] Use newest postgresql formula on homebrew --- CONTRIBUTING.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0987c9210..31ba5d833 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -14,7 +14,8 @@ We're happy you want to contribute! You can help us in different ways: 2. Install packages with homebrew ```bash - brew install git openssl postgresql-9.5 + brew update + brew install git openssl postgresql brew link openssl --force ``` From 2225da30e99f8b931465fb1ecf1c0046bc2b26de Mon Sep 17 00:00:00 2001 From: Joe Nelson Date: Wed, 23 Mar 2016 15:57:02 -0700 Subject: [PATCH 14/14] Note libpng brew mac problem --- CONTRIBUTING.md | 36 ++++-------------------------------- 1 file changed, 4 insertions(+), 32 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 31ba5d833..d7549f85f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -34,36 +34,8 @@ We're happy you want to contribute! You can help us in different ways: sudo make install cd src/test/regress make check-multi - ``` - -#### Linux - -1. Install a C compiler and Git 1.8+ -2. Install packages - - ```bash - # 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 - git clone https://github.com/citusdata/citus.git - ``` - -5. Build and test - - ```bash - cd citus - ./configure - make - sudo make install - cd src/test/regress - make check-multi + + # if you enncounter an error about __cg_jpeg_resync_to_restart, try + # brew uninstall libpng + # and retry make check-multi ```