Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Distributed Blobstore using Couchbase Server
tree: b2f2234a57

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
cbfsclient
client
config
dist
monitor
.gitignore
.travis.yml
README.markdown
backup.go
blobs.go
conf.go
database.go
dns.go
files.go
frames.go
freespace_unix.go
freespace_windows.go
fsck.go
hash.go
hash_test.go
heartbeat.go
heartbeat_test.go
http.go
http_api.go
http_test.go
ioutil.go
ioutil_test.go
list.go
logging.go
logging_windows.go
main.go
main_test.go
namedlock.go
namedlock_test.go
nodes.go
nodes_test.go
pathgen.go
registry.go
registry_test.go
tar.go
tasks.go
timeout.go
zip.go

README.markdown

How do I get the stuff

go get 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

How do I run the stuff

mkdir -p /tmp/localdata
./cbfs -nodeID=$mynodeid \
       -bucket=cbfs \
       -couchbase=http://$mycouchbaseserver:8091/
       -root=/tmp/localdata \
       -viewProxy

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/

Something went wrong with that request. Please try again.