about summary refs log tree commit diff
path: root/config/initializers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-10-14 23:10:07 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-10-14 23:10:07 +0200
commite21a3fe0cd91dfeae76bce4d58c7611e78b60fbf (patch)
tree6a4f6ceda687bbd079845daf2b1c90d15225893b /config/initializers
parent91144d46ecc1a6e2d39abe8bea2d62c5cb57aca3 (diff)
Adding sync of follow relationships to Neo4J, accounts/suggestions API
Diffstat (limited to 'config/initializers')
-rw-r--r--config/initializers/neography.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/initializers/neography.rb b/config/initializers/neography.rb
new file mode 100644
index 000000000..25d54658b
--- /dev/null
+++ b/config/initializers/neography.rb
@@ -0,0 +1,5 @@
+Neography.configure do |config|
+  config.protocol             = "http"
+  config.server               = ENV['NEO4J_HOST'] || 'localhost'
+  config.port                 = ENV['NEO4J_PORT'] || 7474
+end