Skip to content

Developer Setup

John Sullivan edited this page Apr 2, 2016 · 4 revisions

Prerequisites

In order to build longevity, you will need relatively modern installations the following three prerequisites:

On a Mac with Homebrew, this is super easy:

% brew install sbt
% brew install cassandra
% brew install mongodb

If you have a formula for acquiring the prerequisites on other platforms, please toss them up here!

Build

Longevity has a pretty standard SBT multi-project build. There are four projects:

  • longevity
  • emblem
  • longevity-cassandra-deps
  • longevity-mongo-deps

The main project is longevity, and it aggregates the other three, so you can perform the entire build locally with sbt publishLocal. Or if you just want to run all the tests, use sbt test. Etc.

Clone this wiki locally