Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Make Algolia Index prefix configurable #249

Closed
imphil opened this issue Jul 25, 2018 · 1 comment
Closed

Make Algolia Index prefix configurable #249

imphil opened this issue Jul 25, 2018 · 1 comment
Assignees
Labels
gsoc Google Summer of Code

Comments

@imphil
Copy link
Contributor

imphil commented Jul 25, 2018

Algolia creates indices in a namespace created by a prefix. Since we have a single account for staging and production indices we need to configure this prefix based on a setting in Ansible. This means:

  1. Create a key algolia_prefix in ansible/vars for the individual environments. Set to staging, production and dev for the respective types of nodes.
  2. Pass this parameter to the site/app/config/config.yml file.
algolia_search:
  prefix: ''
@imphil
Copy link
Contributor Author

imphil commented Aug 1, 2018

Implemented and merged in 550622e

@imphil imphil closed this as completed Aug 1, 2018
Improve the LibreCores.org in terms of discoverability automation moved this from Review to Done Aug 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
gsoc Google Summer of Code
Projects
No open projects
Development

No branches or pull requests

2 participants