Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A sample Sinatra app that uses an IndexTank instance provisioned by CloudFoundry

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 README.md
Octocat-spinner-32 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
Something went wrong with that request. Please try again.