From 0e56bff5d601d5981a8b5777d534610bcf537fe2 Mon Sep 17 00:00:00 2001 From: Joe Nelson Date: Mon, 7 Dec 2015 13:46:06 -0800 Subject: [PATCH 1/2] Revert "Removed brew install instructions" I know how to release a new brew formula so it won't fall out of date --- docs/install/server.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/install/server.md b/docs/install/server.md index 4977c6f89..81005e8da 100644 --- a/docs/install/server.md +++ b/docs/install/server.md @@ -111,6 +111,29 @@ The possible flags are: file.

+### Install via Homebrew (Mac OS X) + +You can use the Homebrew package manager to install PostgREST on Mac + +```bash +# Ensure brew is up to date +brew update + +# Check for any problems with brew's setup +brew doctor + +# Install the postgrest package +brew install postgrest +``` + +This will automatically install PostgreSQL as a dependency (see the [Installing PostgreSQL](#installing-postgresql) section for setup instructions). The process tends to take around 15 minutes to install the package and its dependencies. + +After installation completes, the tool is added to your $PATH and can be used from anywhere with: + +```bash +postgrest --help +``` + ### Installing PostgreSQL To use PostgREST you will need an underlying database (PostgreSQL version 9.3 or greater is required). You can use something like Amazon [RDS](https://aws.amazon.com/rds/) but installing your own locally is cheaper and more convenient for development. From 728decb0b8969107a66144df7dba156b17f5a20a Mon Sep 17 00:00:00 2001 From: Joe Nelson Date: Tue, 8 Dec 2015 10:31:36 -0800 Subject: [PATCH 2/2] Change brew install time estimate --- docs/install/server.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/install/server.md b/docs/install/server.md index 81005e8da..b785a10a7 100644 --- a/docs/install/server.md +++ b/docs/install/server.md @@ -126,7 +126,7 @@ brew doctor brew install postgrest ``` -This will automatically install PostgreSQL as a dependency (see the [Installing PostgreSQL](#installing-postgresql) section for setup instructions). The process tends to take around 15 minutes to install the package and its dependencies. +This will automatically install PostgreSQL as a dependency (see the [Installing PostgreSQL](#installing-postgresql) section for setup instructions). The process tends to take up to 15 minutes to install the package and its dependencies. After installation completes, the tool is added to your $PATH and can be used from anywhere with: