HLTCHKUST / BiToD

A Bilingual Multi-Domain Dataset For Task-Oriented Dialogue Modeling
Apache License 2.0
23 stars 1 forks source link

restore.sh (cannot find the path specified) #2

Closed En-J-A closed 3 years ago

En-J-A commented 3 years ago

thank you for this work but I could not execute this line

cd ./db && bash restore.sh in my windows 10 and pycharm environment

and the error is

'bash' is not recognized as an internal or external command,
operable program or batch file.

then I tried to run cd ./db && restore.sh it is moved my to the sh file and when run it I got

(base) C:\Users\~\BiToD-main\BiToD-main\db>/bin/sh "C:/Users/~/BiToD-main/BiToD-main/db/restore.sh"
The system cannot find the path specified.

it took me out of the (env) to (base)

I tried to add t my path in the system variable

is there a way to run it in windows, please?

En-J-A commented 3 years ago

What is the purpose of this command? mongorestore --dir=db

zlinao commented 3 years ago

Hi, you shold first install mongoDB in your Windows, then run mongorestore --dir=db in the BiToD/db folder to setup the service API server.

En-J-A commented 3 years ago

OK. thank you very much