Sha256: 50bf1319be1bde652a9681f72e925a11429d754ff76f5a93df2588ac5a53a8f5

Contents?: true

Size: 269 Bytes

Versions: 1

Compression:

Stored size: 269 Bytes

Contents

require 'neo4j-admin'

class Neo4jAdmin < Rails::Railtie

  config.after_initialize do
    graphdb = Neo4j.db.graph
    srv = org.neo4j.server.WrappingNeoServerBootstrapper.new(graphdb)
    srv.start
    puts "neo4j-admin: Started admin server on port 7474"
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
neo4j-admin-0.0.1-java lib/neo4j-admin/railtie.rb