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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This is a project example similar to movies-ruby-neo4j-core but using rails and the latest version of neo4j
Because I wanted to update to the latest ruby library and I wanted to have tests in the example project.
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
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
run this command. You can read more here
install libv8 -v '3.16.14.11' -- --with-system-v8
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