docsearch
docsearch copied to clipboard
Run on your own guide for windows 10
Describe the problem
The docker dose not translate well into windows so I figure out ways to do for windows.
Describe the solution
- create API key and add
*after your index as shown below👇
- copy newly created API and Application ID into
.env - convert the json file into text file either by
jq -r tostringor use online tools. save it in config.txt - install wsl2 and Ubuntu-> make ubuntu default. Install latest docker from docker hub.
- type wsl and use
cd /mnt/c/your/directory/ - run the command
docker run -it --env-file=.env -e "CONFIG=$(cat config.txt)" algolia/docsearch-scraper
Alternatives you've considered
It worked for me and If you have any question you can ask me on Docsearch Discord server.
Hey, thanks for letting us know.
If you want to, you can also add a guide to our documentation by adding a On windows (or something similar) section on this page: https://docsearch.algolia.com/docs/legacy/run-your-own#run-the-crawl-from-the-docker-image
I will look into later this month.