taxfix / grakn_elixir

Elixir client for Grakn database
MIT License
15 stars 6 forks source link

Grakn Elixir client

TODO: Add description

Installation

If available in Hex, the package can be installed by adding grakn_elixir to your list of dependencies in mix.exs:

def deps do
  [
    {:grakn_elixir, "~> 0.1.0"}
  ]
end

Configuration

We can specify hostname, pool_size and if needed we can specify the credentials as per documentation in grakn.ai

config :grakn_elixir,
  hostname: "localhost",
  username: "username",
  password: "password",
  pool_size: 4

Testing

For using local grakn, use environment GRAKN_LOCAL=true