diff --git a/README.md b/README.md index 0ed8004..017da1c 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ Reactive type-safe Scala DSL for Neo4j # Table of contents
    +
  1. Getting it
  2. Graph modelling
  3. Nodes
  4. Relationships
  5. @@ -29,6 +30,15 @@ RETURN r +# Getting it + +```scala +libraryDependencies ++= Seq( + "com.websudos" %% "reactiveneo-dsl" % "0.3.0", + "com.websudos" %% "reactiveneo-testing" % "0.3.0" +) +``` + # Graph modelling Back to top diff --git a/reactiveneo-dsl/src/main/scala/com/websudos/reactiveneo/client/RestCall.scala b/reactiveneo-dsl/src/main/scala/com/websudos/reactiveneo/client/RestCall.scala index 046348c..95fb303 100644 --- a/reactiveneo-dsl/src/main/scala/com/websudos/reactiveneo/client/RestCall.scala +++ b/reactiveneo-dsl/src/main/scala/com/websudos/reactiveneo/client/RestCall.scala @@ -100,7 +100,7 @@ class RestConnection(config: ClientConfiguration) { object RestConnection { def apply(host: String, port: Int): RestConnection = { - val config = ClientConfiguration("localhost", 7474, FiniteDuration(10, TimeUnit.SECONDS)) + val config = ClientConfiguration(host, port, FiniteDuration(10, TimeUnit.SECONDS)) new RestConnection(config) }