No description, website, or topics provided.
CSS Ruby HTML JavaScript Shell Nginx
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
index
log
models
public
views
.gitignore
Gemfile
README.md
auto_load.sh
bench.rb
bench_result_agg.rb
config.ru
data-small.csv
data.csv
header.csv
hosts
load_data.rb
mock.rb
nginx.conf
riak_hosts.rb
server.rb
unicorn.rb
unicorn.sh
zombie_app.conf

README.md

riak-inverted-index-demo

###Prerequisites

Install Bundler

gem install bundler

Install gems required by this application

bundle install

###To start the mock server (html/css rendering only)

bundle exec ruby mock.rb

###To start the real server

Ensure Riak is running

The hosts file in this directory will determine where data is loaded. Confirm you have access to your local Riak cluster or change the hosts file to point to your remote environment.

$ $RIAK_APP/bin/riak ping
pong

####Load some Zombie data

ruby load_data.rb data.csv

####Starting the Server

bundle exec unicorn -c unicorn.rb -l 0.0.0.0:8080