[Swift-commit] r5014 - in branches/release-0.93/docs: . quickstart

davidk at ci.uchicago.edu davidk at ci.uchicago.edu
Sat Aug 27 20:38:15 CDT 2011


Author: davidk
Date: 2011-08-27 20:38:15 -0500 (Sat, 27 Aug 2011)
New Revision: 5014

Added:
   branches/release-0.93/docs/quickstart/
   branches/release-0.93/docs/quickstart/quickstart.txt
Log:
Conversion of existing quickstart guide to asciidoc - should be updated on a per-release basis


Added: branches/release-0.93/docs/quickstart/quickstart.txt
===================================================================
--- branches/release-0.93/docs/quickstart/quickstart.txt	                        (rev 0)
+++ branches/release-0.93/docs/quickstart/quickstart.txt	2011-08-28 01:38:15 UTC (rev 5014)
@@ -0,0 +1,138 @@
+Swift Quickstart
+================
+
+[abstract]
+Abstract
+--------
+This guide describes the steps needed to download, install, configure, 
+and run the basic examples for Swift. If you are using a pre-installed 
+version of Swift, you can skip directly to the configuration section.
+
+Downloading a Swift Distribution
+--------------------------------
+There are three main ways of getting the Swift implementation: stable
+releases, nightly builds, and the source code repository.
+
+
+Stable Releases
+~~~~~~~~~~~~~~~
+Stable releases can be obtained from the Swift download page: Swift
+Downloads Page. Once you downloaded the package, please move to the 
+install section.
+
+
+Nightly Builds
+~~~~~~~~~~~~~~
+Swift builds and tests are being run every day. The Swift downloads page
+contains links to the latest build and test page. The nightly builds 
+reflect a development version of the Swift code and should not be used in
+production mode. After downloading a nightly build package, please
+continue to the install section.
+
+Source Repository
+~~~~~~~~~~~~~~~~~
+Details about accessing the Swift source repository together with build
+instructions are available on the Swift downloads page. Once
+built, the dist/swift-svn directory will contain a self-contained
+build which can be used in place or moved to a different location. You
+should then proceed to the configuration section.
+
+Installing a Swift Binary Package
+---------------------------------
+Simply unpack the downloaded package (swift-<version>.tar.gz) into a
+directory of your choice:
+
+-----
+tar -xzvf swift-<version>.tar.gz
+-----
+
+This will create a swift-<version> directory containing the build.
+
+
+Configuring Swift
+-----------------
+This section describes configuration steps that need to be taken in
+order to get Swift running. Since all command line tools provided with
+Swift can be found in the |bin/| directory of the Swift distribution, it
+may be a good idea to add this directory to your |PATH| environment
+variable:
+
+-----
+export PATH=/path/to/swift/bin:$PATH
+-----
+
+Grid Security
+~~~~~~~~~~~~~
+For local execution of jobs, no grid security configuration is necessary.
+
+However, when submitting jobs to a remote machine using Globus Toolkit
+services, Swift makes use of the Grid Security Infrastructure (GSI)
+at http://www.globus.org/toolkit/docs/4.0/security/key-index.html for
+authentication and authorization. The requirements for this are detailed
+in the following sections. Note that GSI is not required to be
+configured for local execution (which will usually be the case when
+first starting with Swift).
+
+User Certificate
+~~~~~~~~~~~~~~~~
+GSI requires a certificate/private key pair for authentication to Globus
+Toolkit services. The certificate and private key should be placed into 
+the ~/.globus/usercert.pem and ~/.globus/userkey.pem files, respectively.
+
+
+Certificate Authorities Root Certificates
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+The Swift client libraries are generally required to authenticate the
+services to which they connect. This process requires the presence on
+the Swift submit site of the root certificates used to sign the host
+certificates of services used. These root certificates need to be
+installed in either (or both) the ~/.globus/certificates and
+/etc/grid-security/certificates directories. A package with the root
+certificates of the certificate authorities used in the 
+http://www.teragrid.org[TeraGrid] can be found
+http://security.teragrid.org/TG-CAs.html[here].
+
+Swift Properties
+~~~~~~~~~~~~~~~~
+A Swift properties file (named swift.properties) can be used to
+customize certain configuration aspects of Swift. A shared version of
+this file, etc/swift.properties in the installation directory can be
+used to provide installation-wide defaults. A per-user properties file,
+~/.swift/swift.properties can be used for user specific settings.
+Swift first loads the shared configuration file and, if present, the
+user configuration file. Any properties not explicitly set in the user
+configuration file will be inherited from the shared configuration file.
+Properties are specified in the following format:
+
+-----
+name=value
+-----
+
+For details about the various properties Swift accepts, please take a
+look at the http://www.ci.uchicago.edu/swift/guides/userguide.php#properties[Swift Properties Section] 
+in the http://www.ci.uchicago.edu/swift/guides/userguide.php[Swift User Guide].
+
+
+Running Swift Examples
+----------------------
+The Swift examples can be found in the examples directory in the Swift
+distribution. The examples are written in the SwiftScript language, and 
+have |.swift| as a file extension.
+
+The Grid Security Infrastructure, which Swift uses, works with limited
+time certificates called proxies. These proxies can be generated from
+your user certificate and private key using one of grid-proxy-init or
+cog-proxy-init (the latter being a Java Swing interface to the former).
+
+Execution of a Swift workflow is done using the swift command, which
+takes the Swift workflow file name as an argument:
+
+-----
+cd examples/swift
+swift first.swift
+-----
+
+The
+http://www.ci.uchicago.edu/swift/guides/userguide.php#swiftcommand[Swift Command Options Section] 
+in the http://www.ci.uchicago.edu/swift/guides/userguide.php[Swift User Guide] contains details
+about the various options of swift.




More information about the Swift-commit mailing list