I can see plenty type.object.name.en that I didn’t know do I need it or not (Maybe it’s for localize?) and some repeat itself of film.film for some reason everywhere, the thing is I didn’t realize what it is so I try to figure out from goldendata.schema
scalar (
type.object.name.en: string @index
film.film.initial_release_date: date @index
)
Still no go,schema I know from GraphQL is longer maybe it’s a good news that’s shorter.
How about goldendata.rdf.gz, oh it’s goldendata.rdf and I didn’t know how to deal with it.
As you can see, I’m pretty much stuck to create simple hello world. Here’s what in my head now.
We have goldendata.schema bundled into the the Docker image, so you don’t need to mount volume for it. If you want to use some other schema then you would have to mount it.
The p and w directories are used by Dgraph for persisting your data. If you want to persist your data then you should mount them.
Hey @katopz, no you don’t need it absolutely to run Dgraph. But you need it if you want to load the golden data set on the Get started page and perform the queries there. It doesn’t need to be embedded in Docker.
You could download it and mount it like the p and w volume if you need it.