Skip to content

Linux2Go/Surveilr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

Starting with an Ubuntu Oneiric box, install Riak:

Riak setup

wget http://downloads.basho.com/riak/CURRENT/riak_1.1.1-1_amd64.deb
sudo dpkg -i riak_1.1.1-1_amd64.deb

You need to make a few changes to Riak's app.config.

sudo sed -e '/^ {riak_kv/ a {delete_mode, immediate},' \
         -e 's/storage_backend, riak_kv_bitcask_backend/storage_backend, riak_kv_eleveldb_backend/' \
         -e '/^ {riak_search/,+2 s/enabled, false/enabled, true/' -i.bak /etc/riak/app.config

Now we're ready to start Riak:

sudo /etc/init.d/riak start

Other dependencies

tools/setup_virtualenv.sh will pull in all the necessary dependencies and should let you run the test suite:

tools/setup_virtualenv.sh
.venv/bin/python setup.py nosetests

Running Surveilr

You can start Surveilr this easily:

paster serve surveilr/defaults.cfg