I am trying to follow the Run Your Own guide to setup docsearch. I have setup the environment, but I am getting various errors when I run the
./docsearch docker:build command. I have very limited Docker and Python knowledge and would appreciate some help to get things started. See errors below:
$ ./docsearch docker:build Traceback (most recent call last): File "./docsearch", line 5, in <module> run() File "C:\Users\arai\Documents\docsearch-scraper\cli\src\index.py", line 189, in run exit(command.run(sys.argv[2:])) File "C:\Users\arai\Documents\docsearch-scraper\cli\src\commands\build_docker_scraper.py", line 14, in run code = self.build_docker_file("scraper/dev/docker/Dockerfile.base", "algolia/base-documentatio n-scrapper") File "C:\Users\arai\Documents\docsearch-scraper\cli\src\commands\abstract_build_docker.py", line 24, in build_docker_file return AbstractCommand.exec_shell_command(cmd) File "C:\Users\arai\Documents\docsearch-scraper\cli\src\commands\abstract_command.py", line 54, in exec_shell_command p = Popen(arguments, env=merge_env) File "C:\Python27\lib\subprocess.py", line 394, in __init__ errread, errwrite) File "C:\Python27\lib\subprocess.py", line 644, in _execute_child startupinfo) TypeError: environment can only contain strings
I am using Windows 10 and Git bash. I tried using PowerShell, but the
./docsearch docker:build command did not work.