https://github.com/crystallizeapi/klevu-indexer-example
https://github.com/crystallizeapi/klevu-indexer-example
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/crystallizeapi/klevu-indexer-example
- Owner: CrystallizeAPI
- Created: 2023-01-12T20:07:18.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-25T15:57:09.000Z (about 3 years ago)
- Last Synced: 2025-03-13T21:45:39.464Z (11 months ago)
- Language: TypeScript
- Size: 311 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Klevu Import
Very simple script that import to Klevu API
# How does it work
First you need a dump from your Crystallize Tenant
```bash
npx @crystallize/cli-next@latest dump data ${TENANT_IDENTIFIER}
```
Then once `npm install`, and `npm run build` you can run the import
```bash
# create
npm run dev {$PATH_TO_THE_DUMP}
# update
npm run dev {$PATH_TO_THE_DUMP} update
```
> Assuming your `.env` file is setup correctly.