Skip to content
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.

Commit

Permalink
add elasticsearch dev set up
Browse files Browse the repository at this point in the history
  • Loading branch information
KhadijaMahanga committed Dec 5, 2019
1 parent 6078c05 commit 3b4126f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,16 @@ Once you're logged in,
4. Activate/Install other plugins you will need for your development (i.e `custom posts`, `advance custom fields`, `ACF to REST API`)
5. All done! You can now add content, use and customize plugins.

### Elasticsearch
Takwimu Dashboard uses elasticsearch to enhance wordpress search functionality along with the [elasticpress plugin](https://wordpress.org/plugins/elasticpress/). For local development, we make use of the es server docker container. Once docker containers are up (i.e `docker-compose up`) you can visit `http:localhost:9200`

1. Activate `ElasticPress` plugin on dashboard
2. Go to the plugin settings and add your elasticsearch host url on `Third-Party/Self-Hosted` menu
3. Save changes and follow instruction to index your content.
4. Once content is sync, you're ready to use search.

Note: Make sure you use a secure host url. You may use ngrok to expose your local web server


## Deployment

Expand Down

0 comments on commit 3b4126f

Please sign in to comment.