diff options
| author | Johan Lundström | 2011-12-06 12:53:55 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2012-02-03 21:55:12 -0800 |
| commit | 2a4aed58f88f467f9f81e96522ad72e792bb2a82 (patch) | |
| tree | 0fa7eb0e847300edfd1b179b516896e169e4a50a | |
| parent | d69643461d726746688504c3d310c483830df60d (diff) | |
| download | homebrew-2a4aed58f88f467f9f81e96522ad72e792bb2a82.tar.bz2 | |
Neo4j: caveats for getting started.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -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 |
