[ARVADOS] updated: e287d16de2987f1b869db0f874df3d24df3c5be9

git at public.curoverse.com git at public.curoverse.com
Mon Mar 10 19:00:44 EDT 2014


Summary of changes:
 doc/_config.yml                       |    2 +
 doc/sdk/cli/index.html.textile.liquid |   63 +++++++++++++++++++++++++++++++++
 doc/sdk/index.html.textile.liquid     |    1 +
 3 files changed, 66 insertions(+), 0 deletions(-)
 create mode 100644 doc/sdk/cli/index.html.textile.liquid

       via  e287d16de2987f1b869db0f874df3d24df3c5be9 (commit)
      from  f618b0c0c195b949659e6a726f84ca7fe14220b5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit e287d16de2987f1b869db0f874df3d24df3c5be9
Author: Tom Clegg <tom at curoverse.com>
Date:   Mon Mar 10 19:00:38 2014 -0400

    Add command line SDK page.

diff --git a/doc/_config.yml b/doc/_config.yml
index 7540884..4707d8e 100644
--- a/doc/_config.yml
+++ b/doc/_config.yml
@@ -41,6 +41,8 @@ navbar:
       - sdk/python/crunch-utility-libraries.html.textile.liquid
     - Perl:
       - sdk/perl/index.html.textile.liquid
+    - CLI:
+      - sdk/cli/index.html.textile.liquid
   api:
     - Concepts:
       - api/index.html.textile.liquid
diff --git a/doc/sdk/cli/index.html.textile.liquid b/doc/sdk/cli/index.html.textile.liquid
new file mode 100644
index 0000000..ab5a41d
--- /dev/null
+++ b/doc/sdk/cli/index.html.textile.liquid
@@ -0,0 +1,63 @@
+---
+layout: default
+navsection: sdk
+navmenu: CLI
+title: "Command line SDK"
+
+...
+
+h1. Command line SDK
+
+The @arv@ CLI tool provides a generic set of wrappers so you can make API calls easily. It performs some validation before connecting to the API server: for example, it refuses to do an API call if a required parameter is missing.
+
+It also provides access to Keep storage services with the @arv keep@ subcommand.
+
+h3. Usage
+
+See the "command line interface":{{site.baseurl}}/user/reference/sdk-cli.html page in the user guide.
+
+h3. Installation
+
+If you are logged in to an Arvados VM, the @arv@ should be installed.
+
+To use @arv@ elsewhere, you can either install the @arvados-cli@ gem via RubyGems or build and install the package using the arvados source tree.
+
+h4. Prerequisites: Ruby >= 2.0.0 and curl libraries
+
+You can use "RVM":http://rvm.io/rvm/install to install and manage Ruby versions.
+
+<notextile>
+<pre>
+$ <code class="userinput">sudo apt-get install curl</code>
+$ <code class="userinput">sudo sh -c 'curl -sSL https://get.rvm.io | bash -s stable'</code>
+$ <code class="userinput">source /etc/profile.d/rvm.sh</code>
+</pre>
+</notextile>
+
+Install curl libraries with your system's package manager. For example, with Debian or Ubuntu:
+
+<notextile>
+<pre>
+$ <code class="userinput">sudo apt-get install libcurl3 libcurl3-gnutls libcurl4-openssl-dev</code>
+</pre>
+</notextile>
+
+h4. Option 1: install with RubyGems
+
+<notextile>
+<pre>
+$ <code class="userinput">sudo gem install arvados-cli</code>
+</pre>
+</notextile>
+
+h4. Option 2: build and install from source
+
+<notextile>
+<pre>
+$ <code class="userinput">git clone https://github.com/curoverse/arvados.git</code>
+$ <code class="userinput">cd arvados/sdk/cli</code>
+$ <code class="userinput">gem build arvados-cli.gemspec</code>
+$ <code class="userinput">sudo gem install arvados-cli-*.gem</code>
+</pre>
+</notextile>
+
diff --git a/doc/sdk/index.html.textile.liquid b/doc/sdk/index.html.textile.liquid
index 3e74700..7da1bd5 100644
--- a/doc/sdk/index.html.textile.liquid
+++ b/doc/sdk/index.html.textile.liquid
@@ -11,3 +11,4 @@ This section documents how to access the Arvados API and Keep using various prog
 
 * "Python SDK":python/sdk-python.html
 * "Perl SDK":perl/index.html
+* "Command line SDK":cli/index.html ("arv")

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list