2022-05-25 15:12:42 +02:00
2022-01-23 08:51:34 -08:00
2022-02-08 14:20:10 -08:00

tauri-search

use of Meilisearch for Tauri's website

Getting Started

# 1. installs deps for both CLI and Docs
# 2. starts Docs server (in dev mode with HMR), opens in browser
# 3. starts Meilisearch server in Docker
pnpm run start

If you've already installed all the deps and want more granular control you can try any of the following script targets:

# start Docker services (you must have Docker installed)
docker compose up -d
# or
pnpm run up

# stop Docker services
docker compose down
# or
pnpm run down

# turn on watcher mode for both CLI and Docs
pnpm run watch

A browser window should now have opened up pointing to http://localhost:3333. See you over there.

Quick CLI overview

For those who aren't impressed with browser based documentation ... here's a quick guide to the script commands you can use from the root of the monorepo:

  • pnpm run watch - start up dev server in HMR mode, and put watchers on all code in tauri-search
  • pnpm run build - build both CLI and npm exports of tauri-search package
  • pnpm run cli:clear-caches - removes all JSON based cache files of AST or search Documents from tauri-search
  • pnpm run cli:push-caches - will create caches (where necessary) and push them into the local Meilisearch server
  • pnpm run test - runs the terminal test runner once and exits
  • pnpm run test:watch - runs test runner in both console and web browser and watches for changes
Description
No description provided
Readme 12 MiB
Languages
TypeScript 76.8%
Vue 12.5%
Rust 8.2%
CSS 1.4%
JavaScript 0.7%
Other 0.4%