Skip to content
Nchinda Nchinda edited this page Dec 13, 2015 · 3 revisions

Running Flare requires the installation of a few technologies. Starting with this repository. This guide assumes you don't have any of the tools required already. If you already do, skip to the next step, the location of folders is configurable.

  1. Make Directory

make a new directory for Flare related files referred to here as <path>.

cd <path>

  1. Install Flare

Flare itself doesn't actually require installation so just clone the repository. `git clone https://github.com/ConsenSys/Flare`

  1. Install Spark

Spark also doesn't need to be installed, the necessary executables are inside the download. Follow the instructions on the [donwloads page](http://spark.apache.org/downloads.html) to get the bundle. or use this code to get it from one of the mirrors. `wget http://apache.arvixe.com//spark/spark-1.4.1/spark-1.4.1.tgz`

unpack it tar xvf spark-1.4.1.tgz

  1. Install Cassandra

Isn't this wonderful, Cassandra is another that just needs to be downloaded. Use [this link](http://cassandra.apache.org/download/) or follow the code below. `wget http://apache.arvixe.com//cassandra/2.2.1/apache-cassandra-2.2.1-bin.tar.gz` `tar xvf apache-cassandra-2.2.1-bin.tar.gz`

Cassandra requires the Java JRE to function. Most likely you already have this, but otherwise DuckDuckGo instructions for installation on your system.

  1. Install IPFS

This step actually requires an installation. IPFS [has binaries](http://ipfs.io/docs/install/) for all major distributions.

  1. Install Meteor

Meteor has instructions on their [website](https://www.meteor.com/install)

curl https://install.meteor.com/ | sh

  1. FLARECONF

The last step is setting the FLARECONF environment variable to the location of your configuration file. On linux you can set this variable in you .bashrc or .zshrc file.

export FLARECONF=<path>/flareConfig.json

One day this setup process will be bundled into a docker for easy execution.

Clone this wiki locally