Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 1.33 KB

Readme.md

File metadata and controls

32 lines (21 loc) · 1.33 KB

ElasticSearch vvv utility

ElasticSearch utility for VVV. Based on the Redis utility by Denis Žoljom, thanks!

This utility will set up ElasticSearch on your VVV.

Usage

In your config/config.yaml file add under extensions:

extensions:
  elasticsearch:
    - elasticsearch7

utility-sources:
  elasticsearch: 
    repo: https://github.com/svandragt/elasticsearch-vvv-utility.git
    branch: master

Once you add it, be sure you re-provision your VVV with vagrant reload --provision.

WordPress Setup (example using ElasticPress)

  1. Install ElasticPress (activate it) (wp plugin install elasticpress --activate or via the browser)
  2. In the admin, under ElasticPress > Settings > Third-Party/Self-Hosted add http://127.0.0.1:9200:

image

  1. Create public_html/wp-content/mu-plugins/elasticpress.php with the contents of elasticpress.php to avoid conflicts for multisite networks and multiple sites using a single index.
  2. To run the index run wp elasticpress index --setup.