How should I use the Ratel UI in an offline environment

I want to use the Ratel UI in an offline environment, https://play.dgraph.io/ is not available.
When I try to build Ratel using the instructions from the Ratel repository on GitHub, I get an error when I run./scripts/build.prod.sh:[yxl@clvm-10-24 ratel]$ sh ./scripts/build.prod.sh

./scripts/build.prod.sh: line 2: $’\r’: command not found

: invalid optionprod.sh: line 3: set: -

set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [–] [arg …].
And I can’t find the ./build/ratel file
How can I use the Ratel UI successfully

You can use this image
https://hub.docker.com/r/dgraph/ratel/tags?page=1&ordering=last_updated

Thank you very much, I can successfully connect Ratel UI!:slight_smile:
I’m running docker run-it -p 8000:8000 dgraph/ratel:latest command on Linux server to start ratel UI, connect to dGraph in browser IP :8000, but when I try to delete the data, I get an error:Coult not drop all: Unauthorized IP address:172.20.20.120.(172.20.20.120 is my local Windows IP)

You haven’t added your network IP in the whitelist https://dgraph.io/docs/deploy/admin/

Thank you very much. This problem has been solved according to your method.In addition, I want to know when I use load to import data, where the data landed in the disk and how to view the import log

Not sure what you mean. You can use Live load or Bulkload when you need.

It depends on where the instances were started. There isn’t a fixed place.

All instances have a log shown in the terminal.

I’m very happy that I’ve entered the load data step, but how do I verify that I’m importing the desired number of points and edges?How do I look up my number of edges

You can do a count query https://dgraph.io/docs/query-language/count/#sidebar

How do I set the timeout for the query, which is often the case when I do a large number of complex queries.

Go to the server-connection modal box, then go to Extra Settings and you will see the Query timeout input.