cbfs

command module
v0.0.0-...-f13267c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2017 License: Apache-2.0 Imports: 51 Imported by: 0

README

GoDoc

cbfs is a distributed file server built on top of Couchbase

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/tools/cbfsclient)

cbfsclient http://localhost:8484/ upload \
    $GOPATH/src/github.com/couchbaselabs/cbfs/monitor monitor

Then go to http://localhost:8484/monitor/

Running on Docker / CoreOS

See Traun Leyden's blog post on Running CBFS + Couchbase Cluster on CoreOS.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Go client for cbfs Most storage operations are simple HTTP PUT, GET or DELETE operations.
Go client for cbfs Most storage operations are simple HTTP PUT, GET or DELETE operations.
Support for CLI tools.
Support for CLI tools.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL