Skip to content

Scripts to update the search indexes that powers search on the ember website.

Notifications You must be signed in to change notification settings

ember-learn/algolia-index-update-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Algolia API docs indexing script

Getting started

Setup

  1. cp .env.example .env - Copy the example environment configuration
  2. Update the Algolia .env variables and path to the root of the generated API docs (only needed for populating indexes. use the -j flag to write to disk during development)
  3. yarn install - Install dependencies

Indexing API

Use any valid AWS tokens to setup the AWS_ACCESS_KEY & AWS_SECRET_KEY to download the json api docs.

Use the following command to re-index algolia: yarn start

.env variables

  1. ALGOLIA_APP_ID - The Algolia application ID, found in "API Keys" section of the Algolia dashboard
  2. ALGOLIA_ADMIN_KEY - The Algolia admin key, found in "API Keys" section of the Algolia dashboard
  3. AWS_ACCESS_KEY & AWS_SECRET_KEY - Any valid AWS token that can be used to read our public json docs

About

Scripts to update the search indexes that powers search on the ember website.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published