Because of AWS rate limits, this project currently depends on having the API documentation downloaded locally. To generate the JSON files locally, follow the excellent documentation over at ember-jsonapi-docs.
Once the json files have been generated using ember-jsonapi-docs, reindexing algolia is easy.
cp .env.example .env- Copy the example environment configuration- Update the Algolia .env variables and path to the root of the generated API docs
yarn- Install dependenciesyarn start- Build the project using webpack and run the index script
ALGOLIA_APP_ID- The Algolia application ID, found in "API Keys" section of the Algolia dashboardALGOLIA_ADMIN_KEY- The Algolia admin key, found in "API Keys" section of the Algolia dashboardAPI_DOCS_PATH- The path to the root of the built documentation from ember-jsonapi-docsDEBUG- Outputs helpful debug informationDRIVER- Controls the type of the script's output. Available options:algolia,json.jsoncan be helpful for debugging the output of the script without wasting any indexing operations onalgolia.