Skip to content

Commit

Permalink
Create neo4j.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
cheerfulstoic committed Jun 8, 2017
1 parent 9e4d953 commit 3f892fd
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions neo4j.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,17 @@
g.orm :neo4j
end
# Configure where the embedded neo4j database should exist
# Notice embedded db is only available for JRuby
# config.neo4j.session.type = :http # also :embedded or :bolt
# Configure where to connect to the Neo4j DB
# Note that embedded db is only available for JRuby
# config.neo4j.session.type = :http
# config.neo4j.session.url = 'http://localhost:7474'
# or
# config.neo4j.session.type = :bolt
# config.neo4j.session.url = 'bolt://localhost:7687'
# or
# config.neo4j.session.type = :embedded
# config.neo4j.session.path = Rails.root.join('neo4j-db').to_s
]

application generator
Expand Down

0 comments on commit 3f892fd

Please sign in to comment.