block by nicerobot 6432404

A modified version of the neo4j script that allows for starting the server within the current directory or by specifying the location with NEO4J_INSTANCE.

I think servers should be able to easily run from the command line by default. I wasn’t able to easily figure out how to do it using the neo4j script in the distribution. So here’s a hacked neo4j script that allows it.

Install it:

curl -ks https://gist.github.com/nicerobot/6432404/raw/install.sh | bash

Run it:

e.g.

neo4j-nice start

e.g. Create in /tmp/data/graph.db

NEO4J_INSTANCE=/tmp neo4j-nice start

install.sh

neo4j-nice