hotspotty / documentation

hotspotty.net documentation
7 stars 3 forks source link

Run the Algolia indexer on a server and not locally #36

Open mugoosse opened 2 years ago

mugoosse commented 2 years ago

Currently the search functionality powered by Algolia is running in @DevJelle 's local machine on a Docker instance, for which he uses this command:

docker run -it --env-file=.env -e "CONFIG=$(cat /home/jelle/documentation/config.json | jq -r tostring)" algolia/docsearch-scraper

This should be deployed on a server instead, and indexing should be triggered when deploying a new version of the docs.

create-issue-branch[bot] commented 2 years ago

Branch issue-36-Run_the_Algolia_indexer_on_a_server_and_not_locally created!