Removing ElasticSearch Brew instructions (#10370)

* Removing ElasticSearch Brew instructions

If you try to install brew as directed you get this Error:
Error: Calling Installation of elasticsearch-oss from a GitHub commit URL is disabled! Use 'brew extract elasticsearch-oss' to stable tap on GitHub instead.

Brew/ElasticSearch no longer allows you to tap as we previously have suggested in the doc. Also we can no longer grab the 7.5.2 version with brew. 

We have decided to remove the instructions for now until we upgrade ElasticSearch if possible.

* Adding recommended changes. 

Added back line 15 per Nicks recommendation
 (i.e. with rbenv: `rbenv install $(cat .ruby-version)`)

Line 65 
updated to  7.5 or higher for Elasticsearch per Rhymes recommendation
~Forem requires a version of Elasticsearch 7.5 or higher to be running.  We recommend version 7.5.2.~

Line 110 update:
Added back in the Homebrew instructions but updated commands to `install elastic/tap/elasticsearch-oss`

* Updating wording per Molly's suggestion

Updating "to be running " to "run" and adjusting line 64 to "Forem requires Elasticsearch 7.x to run. We recommend version 7.5.2."
This commit is contained in:
Christina 2020-10-29 14:25:56 -06:00 committed by GitHub
parent 5d3691bcc5
commit 473c2ccb8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ Please refer to their [installation guide](https://yarnpkg.com/en/docs/install).
### PostgreSQL
Forem requires PostgreSQL version 11 or higher.
Forem requires PostgreSQL version 11 or higher to run.
The easiest way to get started is to use
[Postgres.app](https://postgresapp.com/). Alternatively, check out the official
@ -38,7 +38,7 @@ You can install ImageMagick with `brew install imagemagick`.
### Redis
Forem requires Redis version 4.0 or higher.
Forem requires Redis version 4.0 or higher to run.
We recommend using [Homebrew](https://brew.sh):
@ -61,11 +61,9 @@ redis-cli ping
### Elasticsearch
Forem requires a version of Elasticsearch between 7.1 and 7.5. Version 7.6 is
not supported. We recommend version 7.5.2.
Forem requires Elasticsearch 7.x to run. We recommend version 7.5.2.
You have the option of installing Elasticsearch with Homebrew or through an
archive. We recommend installing from archive on Mac.
You have the option of installing Elasticsearch with Homebrew or through an archive. We **recommend** installing from archive on Mac.
### Installing Elasticsearch from the archive
@ -109,13 +107,14 @@ To start elasticsearch as a daemonized process:
### Installing Elasticsearch with Homebrew
As the default version of the Homebrew formula points to Elasticsearch 7.6, we
need to retrieve the correct revision of the formula to make sure we install the
latest supported version: 7.5.2.
To install Elasticsearch with Homebrew we will use the following commands to:
- tap the Elastic Homebrew repository
- install the latest OSS distribution
- pin the latest OSS distribution.
```shell
brew tap elastic/tap
brew install https://raw.githubusercontent.com/elastic/homebrew-tap/bed8bc6b03213c2c1a7df6e4b9f928e7082fae46/Formula/elasticsearch-oss.rb
brew install elastic/tap/elasticsearch-oss
brew pin elasticsearch-oss
```