Thanks again @joaquin for the continued great support !!
-
agree that we prefer to use the docker-compose file over the standalone command
-
the pasting from sublime (or maybe it is the blockcode function in the reply window) is stripping out/changing things that it shouldn’t be. I will just post screenshots, to avoid confusion.
-
docker-compose.yml (change to ./dgraph_data:/dgraph , as you had it above)

-
toy_schema (note: I think there is some confusion here? My understanding is Dgraph must use graphQL± language for schema, and it does not appear you made any changes to this file?
-
toy_data.rdf

-
toy_data.json (this one, you converted from rdf to json, which I took as you have it above)
-
with the schema/data files mounted (rather than using cat), and then using the docker exec command and your version of dgraph live command above, it works with the json file ! Maybe in the live command, it was important to use alpha: and zero: instead of localhost: ? And/or , maybe the files needed to mount to /dgraph instead of /data ? I’m not sure which things did the trick
-
but when doing with the rdf file, there is error
-
our actual data files are already in rdf format, and we prefer not to convert them to json if possible
-
lastly, is there any way you know of to embed these commands into the docker-compose file, so everything loads up on a new machine (with Docker installed) with a single command? If not, we can probably create a script file



