Support for non-embedded database#9
Open
bramadams wants to merge 10 commits intosmcintosh:masterfrom
Open
Conversation
…include a "beedb" key in the configuration file. In order to distinguish between multiple dependency graphs, the "label" key can be used, which gives each node a particular label (labels don't do anything in embedded databases or when they are empty). Non-embedded Neo4J databases do NOT need jruby, so you can do the following to make things work: rvm use ruby ; cd $BEE_HOME ; bundle exec rake neo4j:install ; bundle exec rake neo4j:start ; ruby $BEE_HOME/bin/importer bla/bla/config.yml To stop the DB, just do bundle exec rake neo4j:stop.
| return @cfgobj[id.to_s] | ||
| end | ||
|
|
||
| def set(id,val) |
Owner
There was a problem hiding this comment.
This makes the YAMLConfig state mutable :-(
Contributor
Author
There was a problem hiding this comment.
Seemed the most elegant way to override certain parameters programmatically.
Conversion to array to deal with unexisting [] method error.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removing the "beedb" key in the configuration file now allows to get a non-embedded DB. One can also provide a "label" in the configuration file or via program arguments.