/traildb

TrailDB is an efficient tool for storing and querying series of events

Primary LanguageCMIT LicenseMIT

TrailDB

TrailDB is an efficient tool for storing and querying series of events. This repository contains the core C library and the tdb command line tool.

Learn more at traildb.io.

Quick start

For detailed installation instructions, see Getting Started guide.

Install Dependencies

$ apt-get install libarchive-dev libjudy-dev pkg-config

For RPM-based distros:

$ yum install judy-devel libarchive-devel pkg-config

For OSX:

$ brew install judy libarchive pkg-config

Note that your systems package manager may have too old of libjudy. You may also require a patch if you are using gcc 4.9.

Build TrailDB

$ ./waf configure
$ ./waf install

Alternatively you may use autotools

$ ./autogen.sh
$ ./configure
$ make
$ make install

Run Tests

$ ./waf install --test_build
$ ./test-driver.py

or on Linux

$ make distclean
$ cd tests
$ ./coverage.py

Gitter