Treasure Data

Treasure Data Partner Ruby

Deploy

This git repository helps you easily integrate Treasure Data Big Data as-a-Service into your OpenShift apps.

Once you've created the quickstart, you'll need to create a Treasure Data account and add your authorization information to your Git repository. Making code changes will require you to set a public SSH key, and then to clone your new application Git repository onto your local machine. See the Getting Started page for more steps in this flow.

Step 1. Configure Treasure Data

  1. Sign up for a free account at http://www.treasure-data.com/
  2. Download Treasure Data toolbelt and authenticate it by td account -f command
  3. Create a db and table
  4. Retrieve your apikey by td apikey:show command
  5. Enter apikey into config.rb
  {
    :apikey => 'YOUR_API_KEY_HERE'
  }

Step 2. Deploy your app

    git add .
    git commit -m "my first commit"
    git push

Step 3. View your app!

    http://$appname-$yournamespace.rhcloud.com

More Information

For Treasure Data's documentation visit http://docs.treasure-data.com/

For more info on the Treasure Data Ruby client visit td-client-ruby and td-logger-ruby

For more information on Treasure Data visit http://www.treasure-data.com/

Author
treasure-data
Website
http://www.treasure-data.com
Cartridges
ruby-1.9
Repository
https://github.com/treasure-data/treasure-data-openshift-quickstart
Tags