Docusaurus Algolia
Docusaurus Algolia Installation
On windows, Docusaurus Algolia installation sometimes fails because the docker cmd is different from linux.
Error
Traceback (most recent call last): File "/root/src/config/config_loader.py", line 101, in _load_config
Solution
If you have Git bash, open the git bash and use the below command.
winpty docker run -it --env-file=.env -e "CONFIG=$(cat ./config.json | jq -r tostring)" algolia/docsearch-scraper
note
Stackoverflow
: Reference 1
Docusaurus Algolia Installation on macOS
On macOS, i did not check yet.