Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 661 Bytes

SEARCH.md

File metadata and controls

20 lines (14 loc) · 661 Bytes

Algolia search

If you want the Algolia search bar to be activated locally for testing - you will need to export the following variables - get these from an administrator:

export ALGOLIA_APP_ID=XXX
export ALGOLIA_API_KEY=XXX
export ALGOLIA_ADMIN_KEY=XXX
export PRODUCT_NAMES_AND_INDICES=<PRODUCT_NAME>=<INDEX_NAME>,<PRODUCT_NAME>=<INDEX_NAME>

Then you will need to update the remote algolia index with the contents of the site:

make search-index

Finally run make develop as normal and the Algolia search bar should display with the content of the site indexed.

You can always re-run the make search command again to re-index.