Creating the DGraph Project
We’re going to be using the dlex[87] package by Dmitry Russ[88] which provides a gRPC-based Dgraph client for Elixir. (This was inspired by the earlier ex_dgraph[89] package by Ole Spaarmann.[90] )
DGraph Project/Database Setup | |
---|---|
See Appendix 1, Project Setups, for details on retrieving a working project with code and data. And see Appendix 2, Database Setups, for help on setting up a local copy of Dgraph. |
Let’s create a project DGraph. Go to the ExGraphsBook home project (see ExGraphsBook Umbrella), cd down into the apps directory, and open up the new DGraph project:
| $ mix new d_graph --sup ... |
Get Exploring Graphs with Elixir now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.