dgraph-v20.11.0
currently has a critical bug on Windows, as pointed out here:
Hopefully the team is working on the fix. For now, you can use either Docker (which is complicated to set up, in my opinion) or previous releases of Dgraph (v20.03.x
/v20.07.x
). You can find those releases on their GitHub page:
Lastly, I agree that their docs needs some polishing. Sometimes, I have to go back and forth unnecessarily to get the information I really need. It is not something to get followed and understood by newcomers easily. For starter, here is the particular page you need to check out:
https://dgraph.io/docs/v20.07/deploy/single-host-setup/
In a nutshell, these are the commands you need to run:
Dgraph Zero
dgraph zero
Dgraph Alpha
dgraph alpha --lru_mb 1024
Note: --lru_mb
is deprecated on v20.11.x
.
Dgraph Ratel
dgraph-ratel
Note: This one is optional; it serves as a UI in which you can open in the browser with the address: http://127.0.0.1:8000/