diff --git a/README.md b/README.md index 74a6ad8d..154992a4 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,17 @@ and run the solution locally: 2. Start the local web server with `bundle exec jekyll serve` or for incremental builds run `bundle exec jekyll serve --incremental`. 3. Once the site has been generated you'll be able to navigate to it at [http://127.0.0.1:4000/](http://127.0.0.1:4000/). +## Regenerating the search index + +1. Log in to the https://www.algolia.com/ dashboard using the "rushbot" GitHub alias +2. Confirm that the Search-Only API Key and Application ID match the definitions in _config.yml +3. Run this command: + +``` +set ALGOLIA_API_KEY=(your_admin_api_key) +bundle exec jekyll algolia +``` + # Contributing This project welcomes contributions and suggestions. Most contributions require you to agree to a diff --git a/_config.yml b/_config.yml index 0a3384e4..01a192bb 100644 --- a/_config.yml +++ b/_config.yml @@ -81,9 +81,9 @@ sass: # Settings for https://github.com/algolia/jekyll-algolia # Our login account is: @rushbot (GitHub alias) algolia: - application_id: 'MMJOXTLRT5' + application_id: 'W2G1E3U5T0' index_name: 'rushjs.io' - search_only_api_key: '01b32d3d6bf177d93c0bac0fd71ae7ba' + search_only_api_key: 'a0ab6dfc3db0c301b0ca8e725af85641' # Use the following plug-ins plugins: