diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/neo4j.rb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Library/Formula/neo4j.rb b/Library/Formula/neo4j.rb index 60c9332a8..52132109e 100644 --- a/Library/Formula/neo4j.rb +++ b/Library/Formula/neo4j.rb @@ -21,4 +21,31 @@ class Neo4j < Formula ln_s "#{libexec}/bin/neo4j", bin+"neo4j" ln_s "#{libexec}/bin/neo4j-shell", bin+"neo4j-shell" end + + def caveats; <<-EOS.undent + Quick-start guide: + + 1. Start the server manually: + neo4j start + + 2. Open webadmin: + open http://localhost:7474/webadmin/ + + 3. Start exploring the REST API: + curl -v http://localhost:7474/db/data/ + + 4. Stop: + neo4j stop + + To launch on startup, install launchd-agent to ~/Library/LaunchAgents/ with: + neo4j install + + If this is an upgrade, see: + #{libexec}/UPGRADE.txt + + The manual can be found in: + #{libexec}/doc/ + + EOS + end end |
