serversideup / spin

🚀 Replicate your production environment locally using Docker. Just run "spin up". It's really that easy.
https://serversideup.net/open-source/spin/
GNU General Public License v3.0
1.2k stars 42 forks source link

Connect Algolia Search #43

Closed jaydrogers closed 7 months ago

jaydrogers commented 9 months ago

image

          @jaydrogers We will have to get the env set up for Algolia at some point. We will need the variables defined here: https://github.com/serversideup/docker-php/issues/131

This means we also need to apply under our Server Side Up Account: https://docsearch.algolia.com/

Let me know if you want to connect and get that taken care of at some point.

Originally posted by @danpastori in https://github.com/serversideup/spin/issues/34#issuecomment-1856708543

jaydrogers commented 8 months ago

@danpastori We should get the docs search working. I'm having a lot of people ask questions because they can't search the docs.

I emailed Algolia:

Hello,

We have multiple open source projects that we would like to use Algolia for. We just added another one here: https://serversideup.net/open-source/spin/

Do we need to apply for each project? Or can we create multiple indexes with a single approval?
danpastori commented 8 months ago

@jaydrogers let me know what they say. Once we have the keys, it will be really easy to add

jaydrogers commented 8 months ago

@danpastori: Is there a way that we can run this without Algolia? Their product is very confusing.

Can we use this experimental package instead? https://content.nuxt.com/usage/search

danpastori commented 7 months ago

@jaydrogers I opened a PR (https://github.com/serversideup/spin/pull/71) which solves this using the new Nuxt Content search.

Cmd + K and clicking a search button will open the menu. Let me know your thoughts and feel free to merge when ready.