A sample Sinatra app that uses an IndexTank instance provisioned by CloudFoundry
Ruby
Pull request Compare This branch is 1 commit ahead of flaptor:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore
Gemfile
README.md
app.rb

README.md

IndexTank CloudFoundry Sample

This is a sample app, that indexes a random document on an IndexTank instance provided by CloudFoundry. If you are building a CloudFoundry app and need indextank support, just look at the before block.

Usage

  1. login on cloudfoundry, using vmc
  2. create an indextank service on your cloud
vmc create-service indextank idxtnk_random
  1. create the sample app
vmc push SOMEAPPNAME --path THIS_APP_DIRECTORY 
  1. Bind the idxtnk_random service to your app
vmc bind-service SOMEAPPNAME idxtnk_random
  1. Start your app
vmc start SOMEAPPNAME