Sha256: c18b3b51ece676daab1dfcb7832ff3ab3b17756e8d7e961e0b3df382b8a4e6a3

Contents?: true

Size: 1.43 KB

Versions: 6

Compression:

Stored size: 1.43 KB

Contents

= Treasure Data command line tool

This CUI utility wraps the td-client-ruby (https://github.com/treasure-data/td-client-ruby),
the REST API for managing databases and jobs on the Treasure Data Cloud.

For more about Treasure Data, see <http://treasure-data.com/>.

For full documentation see <http://docs.treasure-data.com/>.

= Getting Started

Install td command as a gem.

    > gem install td

See help message for details.

    > td

You need to authorize the account, before executing any other commands.

    > td account

= Sample Workflow

    > td account -f                       # authorize an account
    user: k@treasure-data.com
    password: **********
    > td database:create mydb             # create a database
    > td table:create mydb www_access     # create a table

= Packaging

== Mac OS X

Disable RVM and enable system ruby (/usr/bin/ruby) first.
And then run following commands:

    $ sudo gem install bundler
    $ rake pkg:build

== Windows

Install following binary packages:

  * MinGW with MSYS Basic System and using mingw-get-inst
  * Git for Windows, with Windows Command Prompt support
  * Ruby 1.9.2 using RubyInstaller for Windows, with PATH update

Then run following commands on MinGW Shell:

    $ mingw-get install msys-vim
    $ mingw-get install msys-wget
    $ gem install bundler
    $ bundle exec rake exe:build


= Copyright

Copyright:: Copyright (c) 2011 Treasure Data Inc.
License::   Apache License, Version 2.0

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
td-0.10.67 README.rdoc
td-0.10.66 README.rdoc
td-0.10.65 README.rdoc
td-0.10.64 README.rdoc
td-0.10.63 README.rdoc
td-0.10.62 README.rdoc