Skip to content

Support for non-embedded database#9

Open
bramadams wants to merge 10 commits intosmcintosh:masterfrom
bramadams:master
Open

Support for non-embedded database#9
bramadams wants to merge 10 commits intosmcintosh:masterfrom
bramadams:master

Conversation

@bramadams
Copy link
Copy Markdown
Contributor

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.

bramadams added 2 commits May 21, 2016 20:38
…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)
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes the YAMLConfig state mutable :-(

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seemed the most elegant way to override certain parameters programmatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants