Skip to content

GeekEast/zenbyte.biz

Repository files navigation

Technical Notes Site

Start

pnpm install
pnpm dev

Index Algolia Locally

add .env file in root directly

APPLICATION_ID=
# the admin api key
API_KEY=

then run

docker run --platform linux/amd64 -it --env-file=.env -e "CONFIG=$(cat ./algolia.json | jq -r tostring)" algolia/docsearch-scraper

notice in algolia.json, the lang settings must be the same as in .vitepress/config.mts. for example, en-US

References

Markdown Guide