Skip to content

svandragt/elasticsearch-vvv-utility

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

Languages

  • Shell 85.9%
  • PHP 14.1%