Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bizzabo/algolia-sync
https://github.com/bizzabo/algolia-sync
frontend rnd
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bizzabo/algolia-sync
- Owner: bizzabo
- Created: 2017-12-21T08:37:26.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T18:57:06.000Z (almost 2 years ago)
- Last Synced: 2024-01-17T02:50:36.382Z (10 months ago)
- Topics: frontend, rnd
- Language: JavaScript
- Homepage:
- Size: 205 KB
- Stars: 0
- Watchers: 33
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# algolia-sync
## Description
This repo is needed for managing the Algolia search which is used in web-dashboard. The data is stored in a google spreadsheet (the link is below). These scripts are needed because you are not able to make changes via algolia UI. To have access to the algolia account ask the IT director to give you access to the Algolia credentials via LastPass. The flow for update data is: update spreadsheets -> clone repo -> `npm i` -> `npm run sync`.## Configure
Get the `.env`-file with credentials, try Iryna, Eran G, or Royi
## Read from the Spreadsheet to JSON to `stdout`
[This is the spreadsheet we use for Algolia](https://docs.google.com/spreadsheets/d/1kbldcLdvljR-Bi8mynecmOTolV53GhFhB6HzSA88PUE/edit#gid=0)
```
npm run read
```## Write JSON from `stdin` to Search Index
```
npm run write
```## Read & Write
```
npm run sync
```