Hey guys,
I created this simple script to help the people who want to test the Dgraph for study. Script can be easily modified for other RDFs and even personal RDFs (real data).
The Script checks if there is a bulkload already executed and then decides whether to do another one or run the server. No need to shut down the instance or update the docker-compose.
The idea is to pass an RDF from your machine into the Docker instance. Without having to download anything externally. In that case, whether to use a personal RDF or another example, you only need to change the titles of files and commands. Not big deal.
I ran the tests on a machine with Docker on VM. That is, docker not native. For native docker it should be the same thing. But as I tested in the most unlikely environment, it’s safe.