Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 751 Bytes

ALGOLIA.md

File metadata and controls

22 lines (14 loc) · 751 Bytes

Algolia Setup

This will walk you through setting up content indexing and search in your Apollos app.

NOTE: This will require a REDIS instance and Bull jobs scheduler has already been installed

First add the Algolia add on to your Heroku instance

heroku addons:create algoliasearch:free

For local development, get your apps Admin API key and Application ID and add those to your .env file. You can get these from your Heroku server config variables. They are added automatically.

ALGOLIASEARCH_APPLICATION_ID=<id>
ALGOLIASEARCH_API_KEY=<key>

Indexing

To manage your scheduled indexing jobs go to the /admin/queues endpoint and log in with your JOBS_USERNAME and JOBS_PASSWORD variables from your environment