From d5994bdf5c3420bc1094d6128959a01983710336 Mon Sep 17 00:00:00 2001 From: Takuya Noguchi Date: Tue, 13 Oct 2020 09:58:04 +0000 Subject: [PATCH] Fix typos in search part of contribution guideline Signed-off-by: Takuya Noguchi --- contributing/search.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contributing/search.md b/contributing/search.md index 6922561c18..35b240b678 100644 --- a/contributing/search.md +++ b/contributing/search.md @@ -18,9 +18,9 @@ The Actions workflow usually takes about five minutes, and the progress can be v ## Development -In cases where a publicity event like GitHub Satellite or GitHub Universe demands a very tight shipping window, it is also possible to manually sync the indices with Algolia's servers from your local checkout of the repo, before your feature branch is merged to main. Manually syncing the indices can also be useful to test an unreleased GitHub Enterprise version or a translated language (Portugese, Chinese, etc) that is not yet in production. +In cases where a publicity event like GitHub Satellite or GitHub Universe demands a very tight shipping window, it is also possible to manually sync the indices with Algolia's servers from your local checkout of the repo, before your feature branch is merged to main. Manually syncing the indices can also be useful to test an unreleased GitHub Enterprise version or a translated language (Portuguese, Chinese, etc) that is not yet in production. -To sync the indices from your development enviroment: +To sync the indices from your development environment: 1. Make sure the two required environment variables `ALGOLIA_APPLICATION_ID` and `ALGOLIA_API_KEY` are set in your `.env` file. These can be retrieved from the [Algolia site](https://www.algolia.com/apps/ZI5KPY1HBE/api-keys/all). 2. Run `npm run sync-search-dry-run`. This takes a while to complete. It will prepare, test, and validate all the indices without actually uploading anything to Algolia's servers.