neo4j-examples/movies-with-neo4j

Name: movies-with-neo4j

Owner: Neo4j Examples

Description: null

Created: 2015-08-30 19:58:06.0

Updated: 2017-11-23 13:54:03.0

Pushed: 2015-09-03 11:21:46.0

Homepage: null

Size: 175

Language: Ruby

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Code Climate

Test Coverage

Movies rails application using Neo4j

This is a project example similar to movies-ruby-neo4j-core but using rails and the latest version of neo4j

Why?

Because I wanted to update to the latest ruby library and I wanted to have tests in the example project.

Setup

You need to start neo4j and set up the environment variable NEO4J_URL

j start
 NEO4J_URL=http://user:password@localhost:7474/ >> .env

Also, you need to install and setup the test database

 neo4j:install[community-2.2.4,test]
 neo4j:config[test,7475]
 NEO4J_URL=http://localhost:7475/ >> .env.test

Test

In order to run the test suite you need to run a test instance of neo4j

 neo4j:start[test]
d

I am skipping the seed tests with Guard, but you can test the seed task manually with

c spec/lib/tasks/db_spec.rb

Issues

installing liibv8

run this command. You can read more here

install libv8 -v '3.16.14.11' -- --with-system-v8
Neo4j configuration error

If your username or password is incorrect you might get this error

urce.rb:37:in `handle_response_error!': Expected response code 200 Error for request

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.