aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2011-07-07 11:20:06 -0700
committerAdam Vandenberg2011-07-07 11:20:06 -0700
commit6c13dad53917ed322fa5b53632d8b2cef281ff26 (patch)
tree6b688d02cad2cb6ad300f076d80ddb396da5e767 /Library
parentc445c621d25215981c10ab04d7629b720dfed37d (diff)
downloadhomebrew-6c13dad53917ed322fa5b53632d8b2cef281ff26.tar.bz2
CouchDB: add test instructions
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/couchdb.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/Library/Formula/couchdb.rb b/Library/Formula/couchdb.rb
index cf91670a2..8cc4430c9 100644
--- a/Library/Formula/couchdb.rb
+++ b/Library/Formula/couchdb.rb
@@ -28,6 +28,16 @@ class Couchdb < Formula
(var+'log/couchdb').mkpath
end
+ def test
+ puts <<-EOS.undent
+ To test CouchDB, start `couchdb` in a terminal and then:
+ curl http://127.0.0.1:5984/
+
+ The reply should look like:
+ {"couchdb":"Welcome","version":"1.1.0"}
+ EOS
+ end
+
def caveats; <<-EOS.undent
If this is your first install, automatically load on login with:
mkdir -p ~/Library/LaunchAgents