No description
Find a file
Ben Johnson 503e5c95be flatten util into pilosa
This commit moves ID-related types and functions to the top
level package and moves remaining statsd wrapper into a `statsd`
package.
2015-09-03 14:43:34 -06:00
cmd/pilosa flatten util into pilosa 2015-09-03 14:43:34 -06:00
core flatten util into pilosa 2015-09-03 14:43:34 -06:00
db flatten util into pilosa 2015-09-03 14:43:34 -06:00
dispatch flatten util into pilosa 2015-09-03 14:43:34 -06:00
etc move index package to root package 2015-08-31 16:54:53 -06:00
executor flatten util into pilosa 2015-09-03 14:43:34 -06:00
Godeps godep 2015-09-03 13:52:45 -06:00
hold flatten util into pilosa 2015-09-03 14:43:34 -06:00
query flatten util into pilosa 2015-09-03 14:43:34 -06:00
statsd flatten util into pilosa 2015-09-03 14:43:34 -06:00
storage flatten util into pilosa 2015-09-03 14:43:34 -06:00
transport flatten util into pilosa 2015-09-03 14:43:34 -06:00
.gitignore Update import path 2015-08-05 22:50:38 -06:00
benchmark_autogen_test.go move index package to root package 2015-08-31 16:54:53 -06:00
bitmap.go move index package to root package 2015-08-31 16:54:53 -06:00
blocks.go move index package to root package 2015-08-31 16:54:53 -06:00
brand.go flatten util into pilosa 2015-09-03 14:43:34 -06:00
brand_test.go flatten util into pilosa 2015-09-03 14:43:34 -06:00
commands.go move index package to root package 2015-08-31 16:54:53 -06:00
fragment_container.go flatten util into pilosa 2015-09-03 14:43:34 -06:00
fragment_container_test.go flatten util into pilosa 2015-09-03 14:43:34 -06:00
general.go flatten util into pilosa 2015-09-03 14:43:34 -06:00
id.go flatten util into pilosa 2015-09-03 14:43:34 -06:00
id_test.go flatten util into pilosa 2015-09-03 14:43:34 -06:00
Makefile godep 2015-09-03 13:52:45 -06:00
popcnt.go move index package to root package 2015-08-31 16:54:53 -06:00
popcnt_amd64.s move index package to root package 2015-08-31 16:54:53 -06:00
popcnt_asm.go move index package to root package 2015-08-31 16:54:53 -06:00
popcnt_generic.go move index package to root package 2015-08-31 16:54:53 -06:00
README.md godep 2015-09-03 13:52:45 -06:00
storage.go flatten util into pilosa 2015-09-03 14:43:34 -06:00
timeframe.go move index package to root package 2015-08-31 16:54:53 -06:00
timeframe_test.go move index package to root package 2015-08-31 16:54:53 -06:00
util.go flatten util into pilosa 2015-09-03 14:43:34 -06:00

pilosa

Pilosa is a bitmap index database.

Getting Started

Pilosa uses the new Go 1.5 vendoring experiment. To enable this, you'll need to export an environment variable in your .profile:

export GO15VENDOREXPERIMENT=1

Then you can download the source by running go get:

$ go get github.com/umbel/pilosa

Now you can install the pilosa binary:

$ go install github.com/umbel/pilosa/...

Pilosa requires that etcd is running locally for coordinating the cluster:

# In another terminal window
$ etcd

Now run pilosa with the default configuration:

pilosa

This setup assumes that cassandra and etcd are running locally and that cassandra keyspace pilosa has been setup as describe in the file index/storage_cass.go.

If you don't want backend storage you can comment out storage_backend in the config file and it will just operate out of memory.

Development

Updating dependencies

To update dependencies, you'll need to install godep:

$ go get -u github.com/tools/godep

Then save the dependencies in your project:

$ godep save ./...

Make sure you have set the GO15VENDOREXPERIMENT environment variable!

Running tests

Because of a bug in Go 1.5, you'll need to run make test to exclude tests the the vendor/ directory.