#community-help

Setting up Typesense for Docusaurus Website Search

TLDR Cece asked about setting up search on Docusaurus with Typesense. Jason clarified that Typesense must be hosted publicly.

Powered by Struct AI
3
6mo
Solved
Join the chat
Mar 28, 2023 (6 months ago)
Cece
Photo of md5-071e24497296b2c9354d900541e990de
Cece
03:36 PM
Hi all, I'm a beginner to Typesense and trying to set up a search on my Docusaurus website so apologies if this is a really basic question! I managed to scrape my site using the Docker command while running Typesense on localhost, and the search works fine on my branch, but I realized that other people aren't able to view any search results when they clone my branch. Is this because I need to set up a GH Action for the Docker scraper first? Or do I need to host Typesense elsewhere for it to work publicly?
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
11:06 PM
> Or do I need to host Typesense elsewhere for it to work publicly?
Correct. Typesense needs to be accessible to everyone who needs to access your site’s search feature.
11:06
Jason
11:06 PM
Since the search API calls go from the browser directly to Typesense