-
Clone this repo and install dependencies:
git clone git://github.com/aitrus/lapreso.git cd lapreso export LAPRESO=`pwd` bundle install
-
Install Riak Search. I suggest building a development release.
# Pre-Requisites: erlang (possibly mercurial?) cd $LAPRESO/db curl -O http://downloads.basho.com/riak-search/riak-search-0.13/riak_search-0.13.0.tar.gz tar zxf riak_search-0.13.0.tar.gz rm riak_search-0.13.0.tar.gz mv riak_search-0.13.0 riak_search cd riak_search make all devrel
-
Start Riak
# Set your ulimits, if on a Mac (I suggest adding this to your .profile) ulimit -n 8192 # Fire up the three dev nodes you built dev/dev1/bin/riaksearch start dev/dev2/bin/riaksearch start dev/dev3/bin/riaksearch start # Make em gossip dev/dev2/bin/riaksearch-admin join dev1@127.0.0.1 dev/dev3/bin/riaksearch-admin join dev1@127.0.0.1
-
Bring in a load balancer, to simulate something not so lob-sided (not necessary, but will be assumed)
cd $LAPRESO/db curl -O http://siag.nu/pub/pen/pen-0.18.0.tar.gz # Make this a brew package? tar zxf pen-0.18.0.tar.gz rm pen-0.18.0.tar.gz mv pen-0.18.0 pen cd pen ./configure && make cd $LAPRESO # Port 8098 is the default web port; we'll have the load balancer sit here and route it to our dev nodes db/pen/pen -x 500 -p tmp/pen-8098.pid localhost:8098 8098 localhost:8091 localhost:8092 localhost:8093
-
Notifications
You must be signed in to change notification settings - Fork 0
sgonyea/yakriak2
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Itsa lapreso, the LA Ruby Presentatiano!
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published