Permalink
Browse files

A few README updates to be a little less Trond-specific.

  • Loading branch information...
1 parent c6fb872 commit 727960f5931ad27ea5d5404801fb7f5540dc7535 @dustin dustin committed Sep 28, 2012
Showing with 24 additions and 10 deletions.
  1. +24 −10 README.markdown
View
@@ -3,22 +3,36 @@ How do I get the stuff
go get github.com/couchbaselabs/cbfs
-And you'll find the source in $GOPATH/src/pkg/github.com/couchbaselabs/cbfs
+And you'll find the source in
+`$GOPATH/src/github.com/couchbaselabs/cbfs` (and a `cbfs` binary
+should be in your path)
How do I build the stuff
========================
- cd $GOPATH/src/pkg/github.com/couchbaselabs/cbfs
- go build
+```
+cd $GOPATH/src/pkg/github.com/couchbaselabs/cbfs
+go build
+```
How do I run the stuff
======================
- mkdir -p /tmp/something
- ./cbfs -nodeID=trond \
- -bucket=cbfs \
- -couchbase=http://mango.hq.northscale.net:8091/
- -root=/tmp/something \
- -viewProxy
+```
+mkdir -p /tmp/localdata
+./cbfs -nodeID=$mynodeid \
+ -bucket=cbfs \
+ -couchbase=http://$mycouchbaseserver:8091/
+ -root=/tmp/localdata \
+ -viewProxy
+```
-Then go to http://localhost:8484/monitor/
+The server will be empty at this point, you can install the monitor
+using cbfsclient (`go get github.com/couchbaselabs/cbfs/cbfsclient`)
+
+```
+cbfsclient http://localhost:8484/ upload \
+ $GOPATH/src/github.com/couchbaselabs/cbfs/monitor monitor
+```
+
+Then go to [http://localhost:8484/monitor/](http://localhost:8484/monitor/)

0 comments on commit 727960f

Please sign in to comment.