Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/banzaiman/treasure-data-openshift-quickstart

Treasure Data Quick Start for OpenShift
https://github.com/banzaiman/treasure-data-openshift-quickstart

Last synced: 9 days ago
JSON representation

Treasure Data Quick Start for OpenShift

Awesome Lists containing this project

README

        

Treasure Data on OpenShift in 5 Minutes
--------------------------------

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

###Step 1. Create OpenShift App###

Create an account at http://openshift.redhat.com/ and set up you local machine with the client tools.

Create a ruby-1.9 application (you can call your application whatever you want) and change into the application directory.


$ rhc app create treasuredata ruby-1.9 --from-code https://github.com/treasure-data/treasure-data-openshift-quickstart
$ cd treasuredata

###Step 2. Configure Treasure Data###

1. Sign up for a free account at http://www.treasure-data.com/
2. Download [Treasure Data toolbelt](http://toolbelt.treasure-data.com/) and authenticate it by `td account -f` command
2. Create a db and table
3. Retrieve your apikey by `td apikey:show` command
4. Enter apikey into config.rb

```
{
:apikey => 'YOUR_API_KEY_HERE'
}
```

###Step 3. Deploy your app###

```
$ git add .
$ git commit -m "my first commmit"
$ git push
```

###Step 4. View your app!###

```
$ open http://treasuredata-$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](https://github.com/treasure-data/td-client-ruby) and [td-logger-ruby](https://github.com/treasure-data/td-logger-ruby]

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