diff --git a/hugegraph-server/hugegraph-dist/src/assembly/static/scripts/example.groovy b/hugegraph-server/hugegraph-dist/src/assembly/static/scripts/example.groovy index 266206845b..7f0be4769e 100644 --- a/hugegraph-server/hugegraph-dist/src/assembly/static/scripts/example.groovy +++ b/hugegraph-server/hugegraph-dist/src/assembly/static/scripts/example.groovy @@ -23,6 +23,8 @@ RegisterUtil.registerBackends() conf = "conf/graphs/hugegraph.properties" graph = HugeFactory.open(conf) + +graph.initBackend() graph.serverStarted(GlobalMasterInfo.master("server-tinkerpop")) schema = graph.schema()